2009/2/17 Robert Coup <[email protected]>: > Hey folks, > A url that looks like > http://example.com/foo/http%3A%2F%2Fexample.org/something/ > (http://example.com/foo/http://example.org/something/ unencoded). > Under mod-wsgi, PATH_INFO ends up as: > http://example.com/foo/http:/example.org/something/ > the problem is that // is being collapsed into / along the way. > To get it that far i need to enable AllowEncodedSlashes:On in the apache > config (otherwise i get a 404 for the %2F bit). > > Anyone know where/why that happens, or a workaround? REQUEST_URI seems to > have the right slashes in it, but Django is using PATH_INFO.
For a start read: http://groups.google.com/group/python-web-sig/browse_frm/thread/2003e1c1ecce27b2 >From memory the outcome of that discussion on Python WEB-SIG is that you have to find a different way of encoding slashes. Graham --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
