mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Prevent hash disclosure.
This commit is contained in:
@@ -1839,6 +1839,11 @@ class e_parse extends e_parser
|
||||
{
|
||||
parse_str($options, $options);
|
||||
}
|
||||
|
||||
if(strstr($url,e_MEDIA) || strstr($url,e_SYSTEM)) // prevent disclosure of 'hashed' path.
|
||||
{
|
||||
$raw = true;
|
||||
}
|
||||
|
||||
if($raw) $url = $this->createConstants($url, 'mix');
|
||||
|
||||
|
Reference in New Issue
Block a user