Fix silly typo which neither Paul nor I caught, with tests this time. Thanks

Tim for catching it.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@5866 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2008-01-24 02:12:21 +00:00
parent f4b4e85433
commit 7af5b1c657
3 changed files with 22 additions and 1 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ OpenLayers.loadURL = function(uri, params, caller,
onComplete, onFailure) {
if (OpenLayers.ProxyHost && OpenLayers.String.startsWith(uri, "http")) {
uri = OpenLayers.ProxyHost + escapeURIComponent(uri);
uri = OpenLayers.ProxyHost + encodeURIComponent(uri);
}
var success = (onComplete) ? OpenLayers.Function.bind(onComplete, caller)