Author: dmeyer
Date: Wed Feb 7 20:32:32 2007
New Revision: 2464
Modified:
trunk/base/src/distribution/xmlconfig.py
Log:
escape ' in desc
Modified: trunk/base/src/distribution/xmlconfig.py
==============================================================================
--- trunk/base/src/distribution/xmlconfig.py (original)
+++ trunk/base/src/distribution/xmlconfig.py Wed Feb 7 20:32:32 2007
@@ -87,7 +87,7 @@
if not first:
fd.write(', ')
first = False
- desc = format_content(child)
+ desc = format_content(child).replace('\'', '\\\'')
if desc.find('\n') > 0:
desc = deep + desc.replace('\n', '\n' + deep)
fd.write('desc=\'\'\'\n%s\n%s\'\'\'' % (desc, deep))
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog