forked from 0x2620/pandora
escape find values in url
This commit is contained in:
parent
959ffaba25
commit
8c25aceb67
6 changed files with 13 additions and 10 deletions
|
|
@ -290,10 +290,7 @@ pandora.ui.embedDialog = function(/*[url, ]callback*/) {
|
|||
? '%' + char.charCodeAt(0).toString(16).toUpperCase()
|
||||
: char;
|
||||
});
|
||||
return ret.replace(/_/g, '%09')
|
||||
.replace(/\s/g, '_')
|
||||
.replace(/</g, '%0E')
|
||||
.replace(/>/g, '%0F');
|
||||
return pandora.escapeQueryValue(ret);
|
||||
}
|
||||
|
||||
function getForm() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue