[Mapbender-commits] r1739 - branches/mapbender_sld/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Oct 18 10:52:40 EDT 2007
Author: mschulz
Date: 2007-10-18 10:52:40 -0400 (Thu, 18 Oct 2007)
New Revision: 1739
Modified:
branches/mapbender_sld/http/javascripts/map.js
Log:
escape sld-url in getlegendgraohic request
Modified: branches/mapbender_sld/http/javascripts/map.js
===================================================================
--- branches/mapbender_sld/http/javascripts/map.js 2007-10-18 13:53:44 UTC (rev 1738)
+++ branches/mapbender_sld/http/javascripts/map.js 2007-10-18 14:52:40 UTC (rev 1739)
@@ -793,7 +793,7 @@
str_legendurls += mb_mapObj[mObj].wms[wmsObj].objLayer[i].layer_style[0]["legendurl"] ;
// add SLD-Url to Legend-Url
if (mb_mapObj[mObj].wms[wmsObj].gui_wms_sldurl != "") {
- str_legendurls += "&SLD="+mb_mapObj[mObj].wms[wmsObj].gui_wms_sldurl;
+ str_legendurls += "&SLD="+escape(mb_mapObj[mObj].wms[wmsObj].gui_wms_sldurl);
}
}
cnt_layer++;
More information about the Mapbender_commits
mailing list