From: Matthew Exon Date: Sat, 24 Sep 2022 15:57:28 +0000 (+0200) Subject: Do not remove trailing slash from URIs X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7613433357f53d6ac99b328f9fa023d567d36299;p=friendica.git Do not remove trailing slash from URIs --- diff --git a/src/Network/Probe.php b/src/Network/Probe.php index d5d87ebf95..ea0e208e87 100644 --- a/src/Network/Probe.php +++ b/src/Network/Probe.php @@ -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);