fix: include space and tab in special characters to match to encode url
This commit is contained in:
parent
e6b9f27768
commit
6827b6b3a0
1 changed files with 1 additions and 1 deletions
|
|
@ -335,7 +335,7 @@ frappe.router = {
|
|||
return null;
|
||||
} else {
|
||||
a = String(a);
|
||||
if (a && a.match(/[%'"]/)) {
|
||||
if (a && a.match(/[%'"\s\t]/)) {
|
||||
// if special chars, then encode
|
||||
a = encodeURIComponent(a);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue