Malformed URI sequence in Firefox when using special characters in url, p=jaj@gecko.no, r=me (closes #1704)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10130 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -980,7 +980,7 @@ OpenLayers.Util.getParameters = function(url) {
|
||||
var value = keyValue[1] || ''; //empty string if no value
|
||||
|
||||
//decode individual values
|
||||
value = decodeURIComponent(value).split(",");
|
||||
value = decodeURIComponent(unescape(value)).split(",");
|
||||
|
||||
//if there's only one value, do not return as array
|
||||
if (value.length == 1) {
|
||||
|
||||
Reference in New Issue
Block a user