|
14 | 14 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
15 | 15 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
16 | 16 | # |
17 | | -# $Id: ZRoundup.py,v 1.7 2002-06-14 01:25:46 dman13 Exp $ |
| 17 | +# $Id: ZRoundup.py,v 1.8 2002-06-16 01:01:42 dman13 Exp $ |
18 | 18 | # |
19 | 19 | ''' ZRoundup module - exposes the roundup web interface to Zope |
20 | 20 |
|
@@ -146,7 +146,13 @@ def _opendb(self): |
146 | 146 | # with it and we lose all the :filter, :columns, etc goodness |
147 | 147 | form = None |
148 | 148 | else: |
149 | | - form = FormWrapper(self.REQUEST.form) |
| 149 | + # For some reason, CRs are embeded in multiline notes. |
| 150 | + # It doesn't occur with apache/roundup.cgi, though. |
| 151 | + form = self.REQUEST.form |
| 152 | + if form.has_key( '__note' ) : |
| 153 | + form['__note'] = form['__note'].replace( '\r' , '' ) |
| 154 | + form = FormWrapper(form) |
| 155 | + |
150 | 156 | return instance.Client(instance, request, env, form) |
151 | 157 |
|
152 | 158 |
|
@@ -201,6 +207,9 @@ def __getitem__(self, item): |
201 | 207 |
|
202 | 208 | # |
203 | 209 | # $Log: not supported by cvs2svn $ |
| 210 | +# Revision 1.7 2002/06/14 01:25:46 dman13 |
| 211 | +# Fixed bug #558867 by redirecting /instance requests to /instance/ |
| 212 | +# |
204 | 213 | # Revision 1.6 2002/06/12 00:59:44 dman13 |
205 | 214 | # Fixed the logic for determing the cookie path. (Closes #562130.) |
206 | 215 | # |
|
0 commit comments