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/qgis@10929 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Jun 15, 2009
1 parent d76ad0b commit 78e945e6212a0700381b5070429b26b3f186fba6
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 78e945e

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