Commit 3124da60 authored by mikeytown2's avatar mikeytown2

#942586 by jaykaycgn: re-enable [] char replacement in the url.

parent 7c230e82
......@@ -3497,8 +3497,8 @@ function boost_get_all_filenames($filename, $base_dir = NULL) {
// Generate urlencoded filename, if name contains decoded characters
$paths = explode('/', $filename);
$end = array_pop($paths);
//$end = str_replace('[', '%5B', $end);
//$end = str_replace(']', '%5D', $end);
$end = str_replace('[', '%5B', $end);
$end = str_replace(']', '%5D', $end);
$end = str_replace(',', '%2C', $end);
$end = str_replace(' ', '%20', $end);
$paths[] = $end;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment