From 7613433357f53d6ac99b328f9fa023d567d36299 Mon Sep 17 00:00:00 2001 From: Matthew Exon Date: Sat, 24 Sep 2022 17:57:28 +0200 Subject: [PATCH] Do not remove trailing slash from URIs --- src/Network/Probe.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);