1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 00:20:08 +01:00

Fix incorrectly decoding plus symbol to space in paths

Fixes https://github.com/laravel/valet/issues/829
This commit is contained in:
Jamie Burchell
2019-10-09 22:27:13 +01:00
committed by GitHub
parent 21fb0a33c7
commit e2f48b0385

View File

@@ -63,7 +63,7 @@ function valet_default_site_path($config)
/**
* Parse the URI and site / host for the incoming request.
*/
$uri = urldecode(
$uri = rawurldecode(
explode("?", $_SERVER['REQUEST_URI'])[0]
);