Hello, perhaps someone can answer me.
I use friendly URL.
the /index.php strip the ’:’ char from the url so:
in system var $_SERVER[’HTTP_REFERER’]
my $_SERVER variables contains strange chars:
http://localhost:85/modx/recherche.html
become:
http//localhost85/modx/recherche.html
I think the same problem occurs for these type of url:
http//login:password@localhost85/modx/recherche.html
The two char ’:’ and ’@’ must not be stripped from the url
I changed the line 54 of /index.php from:
$_SERVER[$outside] = isset($_SERVER[$outside]) ? preg_replace("/[^A-Za-z0-9_\-\,\.\/\s]/", "", $_SERVER[$outside]): '';
to:
$_SERVER[$outside] = isset($_SERVER[$outside]) ? preg_replace("/[^A-Za-z0-9_\-\,\:\@\.\/\s]/", "", $_SERVER[$outside]): '';
And all is done.
Anyone can confirm ?
is this a bug ? or I missed something ?
I post it in at
http://modxcms.com/bugs/task/497
someone can check this ?