]> git.mxchange.org Git - friendica.git/commitdiff
Do not remove trailing slash from URIs
authorMatthew Exon <git.mexon@spamgourmet.com>
Sat, 24 Sep 2022 15:57:28 +0000 (17:57 +0200)
committerMatthew Exon <git.mexon@spamgourmet.com>
Sat, 24 Sep 2022 15:57:28 +0000 (17:57 +0200)
src/Network/Probe.php

index d5d87ebf955057f9cc47da804f5374f742b9c862..ea0e208e870e7d4b472227cd6257b97caf43239b 100644 (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);