(cherry picked from commit 6827b6b3a0)
Co-authored-by: prssanna <prssud@gmail.com>
This commit is contained in:
parent
ccc8deed07
commit
cd96c56087
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