escape find values in url

This commit is contained in:
j 2017-11-16 17:25:52 +01:00
commit 8c25aceb67
6 changed files with 13 additions and 10 deletions

View file

@ -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() {