rpc backport
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Wed, 11 May 2005 10:48:24 +0000 (10:48 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:28:56 +0000 (23:28 +0200)
Patches applied:

 * opensource@polytechnique.org--2005/platal--release--0.9.6--patch-7
   should fix the rpc

git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-637

bin/lists.rpc.py

index 328005d..81986b0 100755 (executable)
@@ -162,6 +162,7 @@ def quote(s,is_header=False):
         h = Utils.oneline(s,'iso-8859-1')
     else:
         h = s
+    h = str('').join(re.split('[\x00-\x1f]+', s))
     return Utils.uquote(h.replace('&','&amp;').replace('>','&gt;').replace('<','&lt;'))
 
 def to_forlife(email):