Do not remove trailing slash from URIs

This commit is contained in:
Matthew Exon 2022-09-24 17:57:28 +02:00
parent 6557efd786
commit 7613433357

View File

@ -66,7 +66,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);