diff -r 3d05ccc51d1a -r 4b2787756a35 sbsv2/raptor/python/raptor_meta.py
--- a/sbsv2/raptor/python/raptor_meta.py Wed Feb 17 12:58:38 2010 +0000
+++ b/sbsv2/raptor/python/raptor_meta.py Wed Feb 17 16:53:22 2010 +0000
@@ -31,6 +31,7 @@
import generic_path
import subprocess
import zipfile
+from xml.sax.saxutils import escape
from mmpparser import *
import time
@@ -2901,7 +2902,7 @@
for file in files:
if not file.endswith('/'):
expfilename = str(generic_path.Join(destination, file))
- exportwhatlog += "" + expfilename + "\n"
+ exportwhatlog += "" + escape(expfilename) + "\n"
self.__Raptor.PrintXML("\n")
self.__Raptor.PrintXML("" + markerfilename + "\n")
@@ -2946,7 +2947,7 @@
os.utime(expfilename,(accesstime, modifiedtime))
filecount += 1
- exportwhatlog+="" + expfilename + "\n"
+ exportwhatlog+="" + escape(expfilename) + "\n"
except IOError, e:
message = "Could not unzip %s to %s: file %s: %s" %(source, destination, expfilename, str(e))
if not self.__Raptor.keepGoing: