We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 987b9cf commit a178392Copy full SHA for a178392
src/Uri.php
@@ -190,9 +190,7 @@ public static function createFromGlobals(array $globals)
190
}
191
192
193
- // parse_url() requires a full URL. As we don't extract the domain name or scheme, we use a stand-in.
194
- $requestUri = parse_url('http://example.com' . $env->get('REQUEST_URI'), PHP_URL_PATH);
195
- $requestUri = rawurldecode($requestUri);
+ $requestUri = $env->get('REQUEST_URI');
196
197
// Query string
198
$queryString = $env->get('QUERY_STRING', '');
0 commit comments