// Fixed #PSTEST-273
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12034 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ function str2url(str,encoding,ucfirst)
|
||||
str = str.replace(/[\u0155]/g,'r');
|
||||
|
||||
str = str.replace(/[^a-z0-9\s\'\:\/\[\]-]\\u00A1-\\uFFFF/g,'');
|
||||
str = str.replace(/[\u0028\u0029\u0021\003F]/g,'');
|
||||
str = str.replace(/[\u0028\u0029\u0021\u003F\u002E\u0026\u005E\u007E]/g,'');
|
||||
str = str.replace(/[\s\'\:\/\[\]-]+/g,' ');
|
||||
str = str.replace(/[ ]/g,'-');
|
||||
str = str.replace(/[\/]/g,'-');
|
||||
|
||||
Reference in New Issue
Block a user