urlDecode the GET path
This commit is contained in:
parent
7cb06b1bb1
commit
937d442fce
|
@ -224,6 +224,7 @@ bool AsyncWebServerRequest::_parseReqHead(){
|
||||||
|
|
||||||
_temp = _temp.substring(_temp.indexOf(' ')+1);
|
_temp = _temp.substring(_temp.indexOf(' ')+1);
|
||||||
String u = _temp.substring(0, _temp.indexOf(' '));
|
String u = _temp.substring(0, _temp.indexOf(' '));
|
||||||
|
u = urlDecode(u);
|
||||||
String g = String();
|
String g = String();
|
||||||
if(u.indexOf('?') > 0){
|
if(u.indexOf('?') > 0){
|
||||||
g = u.substring(u.indexOf('?') + 1);
|
g = u.substring(u.indexOf('?') + 1);
|
||||||
|
|
Loading…
Reference in New Issue