added umlaute to the list of invalid URL-characters
This commit is contained in:
parent
4cddbfec38
commit
72cd38a3a3
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,8 @@ function isClean(str) {
|
|||
*/
|
||||
|
||||
function isCleanForURL(str) {
|
||||
var invalidChar = new RegExp("[\\/?&=\\+#]");
|
||||
var invalidChar = new RegExp("[\\/?&=\\+#äöüß]");
|
||||
invalidChar.ignoreCase = true;
|
||||
if (invalidChar.exec(str))
|
||||
return false;
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue