X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=frontends%2FZRoundup%2FZRoundup.py;h=b03414005e89342ef0a1e616e832298050a045b9;hb=8cfcdbc978b49d9230b78a9c3fa6ad4fa468ecb8;hp=8cd92ab0a3ebb6eb4e69203e3bff56444361bdaf;hpb=52a498a8b3dfc1046d87bd0f4eec363b6497f1e1;p=roundup.git diff --git a/frontends/ZRoundup/ZRoundup.py b/frontends/ZRoundup/ZRoundup.py index 8cd92ab..b034140 100644 --- a/frontends/ZRoundup/ZRoundup.py +++ b/frontends/ZRoundup/ZRoundup.py @@ -14,7 +14,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: ZRoundup.py,v 1.7 2002-06-14 01:25:46 dman13 Exp $ +# $Id: ZRoundup.py,v 1.8 2002-06-16 01:01:42 dman13 Exp $ # ''' ZRoundup module - exposes the roundup web interface to Zope @@ -146,7 +146,13 @@ class ZRoundup(Item, PropertyManager, Implicit, Persistent): # with it and we lose all the :filter, :columns, etc goodness form = None else: - form = FormWrapper(self.REQUEST.form) + # For some reason, CRs are embeded in multiline notes. + # It doesn't occur with apache/roundup.cgi, though. + form = self.REQUEST.form + if form.has_key( '__note' ) : + form['__note'] = form['__note'].replace( '\r' , '' ) + form = FormWrapper(form) + return instance.Client(instance, request, env, form) @@ -201,6 +207,9 @@ modulesecurity.apply(globals()) # # $Log: not supported by cvs2svn $ +# Revision 1.7 2002/06/14 01:25:46 dman13 +# Fixed bug #558867 by redirecting /instance requests to /instance/ +# # Revision 1.6 2002/06/12 00:59:44 dman13 # Fixed the logic for determing the cookie path. (Closes #562130.) #