// Add fix for #PSFV-367 adding ',' to the replace rule
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ function str2url(str,encoding,ucfirst)
|
|||||||
|
|
||||||
// Add special char not used for url rewrite
|
// Add special char not used for url rewrite
|
||||||
str = str.replace(/[ ]/g, '-');
|
str = str.replace(/[ ]/g, '-');
|
||||||
str = str.replace(/[\/\\"'|]*/g, '');
|
str = str.replace(/[\/\\"'|,;]*/g, '');
|
||||||
|
|
||||||
if (ucfirst == 1) {
|
if (ucfirst == 1) {
|
||||||
var first_char = str.charAt(0);
|
var first_char = str.charAt(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user