urlDecode the GET path

This commit is contained in:
Me No Dev 2016-05-13 00:41:21 +03:00
parent 7cb06b1bb1
commit 937d442fce
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ bool AsyncWebServerRequest::_parseReqHead(){
_temp = _temp.substring(_temp.indexOf(' ')+1);
String u = _temp.substring(0, _temp.indexOf(' '));
u = urlDecode(u);
String g = String();
if(u.indexOf('?') > 0){
g = u.substring(u.indexOf('?') + 1);