Skip to content
Permalink
Browse files

Put map name in quotes to avoid issues with map names having spaces

git-svn-id: http://svn.osgeo.org/qgis/trunk@10929 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Jun 15, 2009
1 parent 84f55d3 commit 66fde8f8c4931282082e21488a9b9b790dee0878
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/mapserver_export/ms_export.py
@@ -213,7 +213,7 @@ def writeWebSection(self):
# TODO allow user to configure this
self.outFile.write(" # WMS server settings\n")
self.outFile.write(" METADATA\n")
self.outFile.write(" 'wms_title' '" + self.mapName + "'\n")
self.outFile.write(" 'wms_title' '\"" + self.mapName + "\"'\n")
self.outFile.write(" 'wms_onlineresource' 'http://my.host.com/cgi-bin/mapserv?map=wms.map&'\n")
self.outFile.write(" 'wms_srs' 'EPSG:4326'\n")
self.outFile.write(" END\n\n")

0 comments on commit 66fde8f

Please sign in to comment.
You can’t perform that action at this time.