serenity icon indicating copy to clipboard operation
serenity copied to clipboard

LibHTTP+WebServer: Add querystring support

Open 0xbigshaq opened this issue 3 years ago • 0 comments

When trying to access an HTML page with javascript in it(for example, a script that tries to access window.location.search), say test.html?foo=bar: the WebServer tries to open a file called test.html?foo=bar instead of just test.html. This leads to a false-positive 404 error, which prevents loading the HTML page.

Before the PR/patch: image

After the patch: image

0xbigshaq avatar Jul 29 '22 02:07 0xbigshaq