urlDecode the GET path

This commit is contained in:
Me No Dev committed 2016-05-13 00:41:21 +03:00
1 parent 7cb06b1bb1
commit 937d442fce
1 file changed
+1
+1
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);