1
0
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:
Cameron
2013-04-27 13:15:04 -07:00
parent b2e6305458
commit 80ec0b9b40

View File

@@ -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');