We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88784b1 commit 563c85aCopy full SHA for 563c85a
src/Http/RequestFactory.php
@@ -100,7 +100,10 @@ public function createHttpRequest()
100
101
// normalized url
102
$url->canonicalize();
103
- $url->setPath(Strings::fixEncoding($url->getPath()));
+
104
+ if (preg_match(self::NONCHARS, $url->getPath()) || preg_last_error()) {
105
+ throw new InvalidRequestException(); // TODO!
106
+ }
107
108
// detect script path
109
if (isset($_SERVER['SCRIPT_NAME'])) {
0 commit comments