Do not remove trailing slash from URIs
This commit is contained in:
parent
6557efd786
commit
7613433357
|
@ -66,7 +66,7 @@ class Probe
|
||||||
public static function cleanURI(string $rawUri): string
|
public static function cleanURI(string $rawUri): string
|
||||||
{
|
{
|
||||||
// At first remove leading and trailing junk
|
// 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);
|
$rawUri = Network::convertToIdn($rawUri);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user