mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 23:26:41 +02:00
Prevent hash disclosure.
This commit is contained in:
@@ -1840,6 +1840,11 @@ class e_parse extends e_parser
|
|||||||
parse_str($options, $options);
|
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');
|
if($raw) $url = $this->createConstants($url, 'mix');
|
||||||
|
|
||||||
$baseurl = ($full ? SITEURL : e_HTTP).'thumb.php?';
|
$baseurl = ($full ? SITEURL : e_HTTP).'thumb.php?';
|
||||||
|
Reference in New Issue
Block a user