Open g105b opened 2 years ago
In WebEngine's RequestHandler::forceTrailingSlashes()
function, the Location header is set manually, along with the status code. This should prevent the request handler from executing any further, by calling the exit callback.
The only header that should end early is
Location
as far as I can tell, but maybe there are more. Need to research before implementing.