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

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);