Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed Jun 15, 2009
1 parent d76ad0b commit 78e945e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/mapserver_export/ms_export.py
Expand Up @@ -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")
Expand Down

0 comments on commit 78e945e

Please sign in to comment.