-
Notifications
You must be signed in to change notification settings - Fork 13.3k
form URL encoding fails #4013
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
Labels
waiting for feedback
Waiting on additional info. If it's not received, the issue may be closed.
Comments
I had a similar issue, and posted this. Based on the reply by devyte, I used the Parsing.cpp PR code and that resolved the issue. Can you check that out? |
Give me some days. Maybe I should also try the head revision. just in case the issue is already fixed otherwise.
But just to clarify: it's a bug, not a feature, right?
Am 28. Dezember 2017 04:27:33 MEZ schrieb Develo <[email protected]>:
…
|
@s0170071 I understand it's a bug in how the decoding is done. |
Just confirmed. PR #3313 fixes this, current latest git (head revision) doesn't. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
waiting for feedback
Waiting on additional info. If it's not received, the issue may be closed.
Basic Infos
Hardware
Hardware: Wemos D1 mini
Core Version: 2.3.0 / 2.4.0rc2
Description
the URL encoding for post forms is broken for post forms with the default enctype
Behaviour with core version 2.3.0 method='post' .. OK
Behaviour with core version 2.3.0 method='post'enctype='multipart/form-data'' .. OK
Behaviour with core version 2.4.0rc2 method='post' .. FAIL
Behaviour with core version 2.4.0rc2 method='post'enctype='multipart/form-data'' .. OK
Fail means that you have to URLencode the string in the form yourself in order for it to get received as intended by the ESP. This means that it probably gets URLdecoded although it was not ENcoded in the first place.
Using the test sketch:
Settings in IDE
Module: Wemos D1 mini
Flash Size: 4MB
CPU Frequency: 80Mhz
Flash Mode: qio
Flash Frequency: 512k
Upload Using: SERIAL
Reset Method: power cycle
Sketch
The text was updated successfully, but these errors were encountered: