mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 12:14:06 +02:00
[ticket/11508] Allow equal sign in parameter value.
PHPBB3-11508
This commit is contained in:
@@ -254,16 +254,18 @@ class path_helper
|
||||
|
||||
foreach ($args as $argument)
|
||||
{
|
||||
$arguments = explode('=', $argument);
|
||||
$key = $arguments[0];
|
||||
unset($arguments[0]);
|
||||
if (empty($argument))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
list($key, $value) = explode('=', $argument, 2);
|
||||
|
||||
if ($key === '')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$params[$key] = $arguments[1];
|
||||
$params[$key] = $value;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user