[GRASS-SVN] r69445 - grass/trunk/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 11 18:34:50 PDT 2016


Author: annakrat
Date: 2016-09-11 18:34:50 -0700 (Sun, 11 Sep 2016)
New Revision: 69445

Modified:
   grass/trunk/gui/wxpython/core/workspace.py
Log:
wxGUI: escape ampersand when writing d.wms into workspace, see #3147

Modified: grass/trunk/gui/wxpython/core/workspace.py
===================================================================
--- grass/trunk/gui/wxpython/core/workspace.py	2016-09-12 01:07:45 UTC (rev 69444)
+++ grass/trunk/gui/wxpython/core/workspace.py	2016-09-12 01:34:50 UTC (rev 69445)
@@ -914,6 +914,7 @@
         """Make value XML-valid"""
         value = value.replace('<', '<')
         value = value.replace('>', '>')
+        value = value.replace('&', '&')
 
         return value
 



More information about the grass-commit mailing list