loadURL does not escape + (plus) character in proxied URL. Thanks to rdewit
for following up on this, and to tschaub for reminding us of the right way to do things. r=pagameba (Closes #1262) git-svn-id: http://svn.openlayers.org/trunk/openlayers@5865 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -60,7 +60,7 @@ OpenLayers.loadURL = function(uri, params, caller,
|
||||
onComplete, onFailure) {
|
||||
|
||||
if (OpenLayers.ProxyHost && OpenLayers.String.startsWith(uri, "http")) {
|
||||
uri = OpenLayers.ProxyHost + escape(uri);
|
||||
uri = OpenLayers.ProxyHost + escapeURIComponent(uri);
|
||||
}
|
||||
|
||||
var success = (onComplete) ? OpenLayers.Function.bind(onComplete, caller)
|
||||
|
||||
Reference in New Issue
Block a user