1414# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1515# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1616#
17- # $Id: ZRoundup.py,v 1.13 2002-09 -10 03:01:18 richard Exp $
17+ # $Id: ZRoundup.py,v 1.14 2002-10 -10 03:47:27 richard Exp $
1818#
1919''' ZRoundup module - exposes the roundup web interface to Zope
2020
@@ -149,10 +149,7 @@ def _opendb(self):
149149 else :
150150 # For some reason, CRs are embeded in multiline notes.
151151 # It doesn't occur with apache/roundup.cgi, though.
152- form = self .REQUEST .form
153- if form .has_key ( '__note' ) :
154- form ['__note' ] = form ['__note' ].replace ( '\r ' , '' )
155- form = FormWrapper (form )
152+ form = FormWrapper (self .REQUEST .form )
156153
157154 return instance .Client (instance , request , env , form )
158155
@@ -161,9 +158,7 @@ def _opendb(self):
161158 def index_html (self ):
162159 '''Alias index_html to roundup's index
163160 '''
164-
165161 # Redirect misdirected requests -- bugs 558867 , 565992
166-
167162 # PATH_INFO, as defined by the CGI spec, has the *real* request path
168163 orig_path = self .REQUEST .environ [ 'PATH_INFO' ]
169164 if orig_path [- 1 ] != '/' :
0 commit comments