second url for a page with a "dot" not allowed?

Permalink
Hi,
We migrating a client's website, and as part of the redirection, we are setting up as second URL the url of the old website (very handy for SEO..)
But on his old site, some pages have a "dot" in them and concrete5 doesnt like them and replace them with "-"
For instance, a page "/category.id/18" will be automatically changed to "/category-id/18"
I tried to change this "-" in teh database as well, but still not picking up?
any workaround?
thanks

 
Tao replied on at Permalink Reply
Tao
Do you using 5.4.1.1?
Check sanitizeFileSystem() in text helper class if you use ver.5.4.1.
It replaced "." to "-".
chrispletz replied on at Permalink Reply
chrispletz
Thanks!

so pretty straight forward. BUT, if i delete the second search:
$searchNormal = array("/[&]/", "/[^0-9A-Za-z-_]/", "/-+/");
$searchSlashes = array("/[&]/", "/[^0-9A-Za-z-_\/]/", "/-+/");
$replace = array("and", "", "-");

or if i replace the '-' with a '.'
$searchNormal = array("/[&]/", "/[\s|.]+/", "/[^0-9A-Za-z-_]/", "/-+/");
$searchSlashes = array("/[&]/", "/[\s|.]+/", "/[^0-9A-Za-z-_\/]/", "/-+/");
$replace = array("and", ".", "", "-");

in both cases the system "deletes" the dot completely... what am i doing wrong?