Do you mean ModPythonAdapter or ModSnakeAdapter? You mentioned both.
A similar fix has already been made in the CVS version of ModPythonAdapter,
but maybe ModSnakeAdapter hasn't been kept up to date.
At 05:01 PM 6/26/01 +0100, David O'Callaghan wrote:
>Hi,
>
>I found I was having problems redirecting to non-local pages
>using sendRedirect or setting the headers manually. It worked
>fine with the CGIAdapter and I found that it was the fault
>of a line in ModSnakeAdapter
>
>The problem was that the headers were being split on a colon
>but if the value contained any colons, only the first section
>was being used. So
>
>Location: https://blah...
>
>became
>
>Location: https
>
>And I'd get a 404 for the local file https
>
>So here's the change needed in ModPythonAdapter.py, as I see it:
>
>136c136
>< req.headers_out[header[0]] = header[1]
>---
> > req.headers_out[header[0]] = string.join(header[1:], ":")
>
>Regards,
>
>David O'Callaghan
>
>
>_______________________________________________
>Webware-discuss mailing list
>Webware-discuss@...
>http://lists.sourceforge.net/lists/listinfo/webware-discuss
--
- Geoff Talvola
gtalvola@...
|