escape find values in url
This commit is contained in:
parent
959ffaba25
commit
8c25aceb67
6 changed files with 13 additions and 10 deletions
|
|
@ -442,7 +442,7 @@ pandora.ui.insertEmbedDialog = function(/*[url, ]callback*/) {
|
|||
var data = Ox.map($input, function($element) {
|
||||
return $element.options('value');
|
||||
}),
|
||||
options = Ox.serialize({
|
||||
options = pandora.escapeQueryValue(Ox.serialize({
|
||||
title: data.title || void 0,
|
||||
showTimeline: data.showTimeline || void 0,
|
||||
timeline: data.timeline && data.timeline != 'default'
|
||||
|
|
@ -451,8 +451,7 @@ pandora.ui.insertEmbedDialog = function(/*[url, ]callback*/) {
|
|||
showLayers: data.showAnnotations && data.showLayers
|
||||
? data.showLayers : void 0,
|
||||
//matchRatio: true
|
||||
}, true)
|
||||
.replace(/_/g, '%09').replace(/\s/g, '_')
|
||||
}, true))
|
||||
.replace(/"/g, '"');
|
||||
url = data.protocol + '://'
|
||||
+ data.site + '/'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue