Skip to content

Commit 78e945e

Browse files
author
timlinux
committed
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
1 parent d76ad0b commit 78e945e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/mapserver_export/ms_export.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def writeWebSection(self):
213213
# TODO allow user to configure this
214214
self.outFile.write(" # WMS server settings\n")
215215
self.outFile.write(" METADATA\n")
216-
self.outFile.write(" 'wms_title' '" + self.mapName + "'\n")
216+
self.outFile.write(" 'wms_title' '\"" + self.mapName + "\"'\n")
217217
self.outFile.write(" 'wms_onlineresource' 'http://my.host.com/cgi-bin/mapserv?map=wms.map&'\n")
218218
self.outFile.write(" 'wms_srs' 'EPSG:4326'\n")
219219
self.outFile.write(" END\n\n")

0 commit comments

Comments
 (0)