Merge pull request #11925 from mexon/mat/dont-remove-slash

Do not remove trailing slash from URIs
This commit is contained in:
Hypolite Petovan 2022-09-24 15:05:02 -04:00 committed by GitHub
commit 5a236e0af2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ class Probe
public static function cleanURI(string $rawUri): string
{
// At first remove leading and trailing junk
$rawUri = trim($rawUri, "@#?:/ \t\n\r\0\x0B");
$rawUri = trim($rawUri, "@#?: \t\n\r\0\x0B");
$rawUri = Network::convertToIdn($rawUri);