mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:40:15 +00:00
Merge pull request #11925 from mexon/mat/dont-remove-slash
Do not remove trailing slash from URIs
This commit is contained in:
commit
5a236e0af2
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,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 a new issue