Mercurial > hg > fapweb
diff msite.inc.php @ 918:2e106ba14190
More adjustments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 27 Nov 2014 12:57:50 +0200 |
parents | a6b4b7401508 |
children | 22ca7b1aaff4 |
line wrap: on
line diff
--- a/msite.inc.php Thu Nov 27 12:12:47 2014 +0200 +++ b/msite.inc.php Thu Nov 27 12:57:50 2014 +0200 @@ -848,7 +848,7 @@ // function stFilterPathComponent($str) { - $tmp = str_replace(array("\$", ), array("S", ), $str); + $tmp = str_replace(array(" / ", "/", "\$", ), array(" of ", " of ", "S", ), $str); return preg_replace("/[^a-zA-Z0-9\(\)\,\._-]/", "_", $tmp); }