-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use dataurlencode #249
Comments
"--data-urlencode" or "--dataurlencode" ? |
interesting... |
it is a bug with the ArgumentsBuilderGenerator |
libetl
added a commit
that referenced
this issue
Sep 3, 2022
please retest with 0.0.40 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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:?]
The text was updated successfully, but these errors were encountered: