On Oct 10, 2007, at 2:43 AM, Maas-Maarten Zeeman wrote:
I was surprised by this because quixote + apache + scgi works with
quoted urls. After checking the quixote's mod_scgi path info repair
code I realized the check was much less strict.
Anyhow, I hope this fix will reach the qp package some day.
Thanks.
Would this patch (in web.py) work as well?
if (env.get('SCRIPT_NAME') and
- env.get('SCRIPT_NAME') == env.get('REQUEST_URI') and
env.get('SCRIPT_NAME').startswith(self.script_name) and
env.get('PATH_INFO') is None):
# This looks like it is coming through mod_scgi and
# needs repair.
env['PATH_INFO'] = env['SCRIPT_NAME'][len
(self.script_name):]
env['SCRIPT_NAME'] = self.script_name
- assert env['SCRIPT_NAME'] + env['PATH_INFO'] == env
['REQUEST_URI']
_______________________________________________
QP mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/qp