Apply patch from rdewit to fix a typo I missed; thx rdewit. (Closes
#1350) git-svn-id: http://svn.openlayers.org/trunk/openlayers@6190 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -283,7 +283,7 @@ OpenLayers.Ajax.Request = OpenLayers.Class(OpenLayers.Ajax.Base, {
|
|||||||
initialize: function(url, options) {
|
initialize: function(url, options) {
|
||||||
OpenLayers.Ajax.Base.prototype.initialize.apply(this, [options]);
|
OpenLayers.Ajax.Base.prototype.initialize.apply(this, [options]);
|
||||||
|
|
||||||
if (OpenLayers.ProxyHost && OpenLayers.String.startsWith(uri, "http")) {
|
if (OpenLayers.ProxyHost && OpenLayers.String.startsWith(url, "http")) {
|
||||||
url = OpenLayers.ProxyHost + encodeURIComponent(url);
|
url = OpenLayers.ProxyHost + encodeURIComponent(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user