mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-01 05:44:41 +03:00
Encode the value of Mibew root according to RFC 3986
This commit is contained in:
parent
bbb5072130
commit
22e055d5e8
@ -27,7 +27,7 @@ require_once(MIBEW_FS_ROOT . '/libs/config.php');
|
||||
$mibewroot = join(
|
||||
"/",
|
||||
array_map(
|
||||
"urlencode",
|
||||
"rawurlencode",
|
||||
preg_split('/\//', preg_replace('/\/+$/', '', preg_replace('/\/{2,}/', '/', '/' . $mibewroot)))
|
||||
)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user