#12464: Empty PATH_INFO causes blank SCRIPT_NAME ------------------------------------+--------------------------------------- Reporter: chrisw | Owner: wogan Status: assigned | Milestone: 1.3 Component: HTTP handling | Version: SVN Resolution: | Keywords: Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ------------------------------------+--------------------------------------- Comment (by grahamd):
The REDIRECT_URL variable is actually setup for CGI environment by Apache and not my mod_rewrite. Because mod_wsgi gets Apache to build the CGI environment but passes it as part of WSGI environment, that is where it is coming. FASTCGI and SCGI etc would similarly inherit REDIRECT_URL in that way. Thus, although the code in Django doing this fixups is documented as being related to mod_rewrite, it is actually using information from other sources besides that. -- Ticket URL: <http://code.djangoproject.com/ticket/12464#comment:9> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.