Skip to content

use dataurlencode #249

@libin0811

Description

@libin0811

Describe the bug
has error when i use dataurlencode method

Environment
Special configuration in /etc/hosts ?
Reverse proxy ?
VPN ? Y/N
Proxy ? Y/N

Curl command line
Please provide (if allowed) the full curl command line
And (if possible) give me the access to hit the endpoint myself.
image

Expected behavior
A clear and concise description of what you expected to happen while using the real cURL command.

Stacktrace
2022-09-01 Caused by: org.toilelibre.libe.curl.Curl$CurlException: org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: --dataurlencode
2022-09-01 at org.toilelibre.libe.curl.ReadArguments.getCommandLineFromRequest(ReadArguments.java:34) ~[curl-0.0.39.jar:?]
2022-09-01 at org.toilelibre.libe.curl.ReadArguments.getCommandLineFromRequest(ReadArguments.java:18) ~[curl-0.0.39.jar:?]
2022-09-01 at org.toilelibre.libe.curl.Curl.curl(Curl.java:67) ~[curl-0.0.39.jar:?]
2022-09-01 at org.toilelibre.libe.curl.Curl$CurlArgumentsBuilder.run(Curl.java:171) ~[curl-0.0.39.jar:?]
2022-09-01 at com.baosight.eplat.be.ce.service.ServiceBECE460.insertMachineByGrovvyScript(ServiceBECE460.java:442) ~[classes/:2.0.0-SNAPSHOT]
2022-09-01 ... 152 more
2022-09-01 Caused by: org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: --dataurlencode
2022-09-01 at org.apache.commons.cli.DefaultParser.handleUnknownToken(DefaultParser.java:360) ~[commons-cli-1.4.jar:1.4]
2022-09-01 at org.apache.commons.cli.DefaultParser.handleLongOptionWithoutEqual(DefaultParser.java:407) ~[commons-cli-1.4.jar:1.4]
2022-09-01 at org.apache.commons.cli.DefaultParser.handleLongOption(DefaultParser.java:384) ~[commons-cli-1.4.jar:1.4]
2022-09-01 at org.apache.commons.cli.DefaultParser.handleToken(DefaultParser.java:239) ~[commons-cli-1.4.jar:1.4]
2022-09-01 at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:120) ~[commons-cli-1.4.jar:1.4]
2022-09-01 at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:76) ~[commons-cli-1.4.jar:1.4]
2022-09-01 at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:60) ~[commons-cli-1.4.jar:1.4]
2022-09-01 at org.toilelibre.libe.curl.ReadArguments.getCommandLineFromRequest(ReadArguments.java:31) ~[curl-0.0.39.jar:?]
2022-09-01 at org.toilelibre.libe.curl.ReadArguments.getCommandLineFromRequest(ReadArguments.java:18) ~[curl-0.0.39.jar:?]
2022-09-01 at org.toilelibre.libe.curl.Curl.curl(Curl.java:67) ~[curl-0.0.39.jar:?]
2022-09-01 at org.toilelibre.libe.curl.Curl$CurlArgumentsBuilder.run(Curl.java:171) ~[curl-0.0.39.jar:?]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions