URL Encoding on directory names
-
In inc.directories.php you don’t seem to be urlencoding the directory names. I have a directory with an ampersand in it and clicking the link just refreshes the page because it’s a bad link.
I modified line #120 from
$dlink = str_replace('/', '*', "$dpath");
to
$dlink = urlencode(str_replace('/', '*', "$dpath"));
and the problem is solved.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘URL Encoding on directory names’ is closed to new replies.