From e2f48b0385db595c942ab53811dd9201be8e4b9d Mon Sep 17 00:00:00 2001 From: Jamie Burchell Date: Wed, 9 Oct 2019 22:27:13 +0100 Subject: [PATCH] Fix incorrectly decoding plus symbol to space in paths Fixes https://github.com/laravel/valet/issues/829 --- server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.php b/server.php index 74aebe141..48aee0e7d 100644 --- a/server.php +++ b/server.php @@ -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] );