Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit bfd0372

Browse files
committed
Fix mbParseUrl if preg_replace returns null.
1 parent 9933d87 commit bfd0372

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/core/src/pydio/Core/Utils/Vars/UrlUtils.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ function ($matches)
4444
},
4545
$url
4646
);
47+
if($enc_url === null) {
48+
return parse_url($url, $part);
49+
}
4750

4851
$parts = parse_url($enc_url, $part);
4952

0 commit comments

Comments
 (0)