Open TheStegosaurus1 opened 10 months ago
For now i fixed it with a bit of a hacky solution by only processing a requests parameters if its shorter than 1024 Characters. WebRequest.cpp:278
String g = String();
index = u.indexOf('?');
if(index > 0 && u.length() < 1024){
g = u.substring(index +1);
u = u.substring(0, index);
}
_url = urlDecode(u);
_addGetParams(g);
Im using a Basic Webserver like this:
When I go to this URL which has some "cursed text" after the ?: zalgo_text.txt UTF-8 Encoded It crashes with this error:
According to the backtrace, this happens in WebRequest.cpp at line 280
g = u.substring(index +1);