#24450: Should the WSGI Core handler accept request with a missing slash '/'
-------------------------------+------------------------------------
Reporter: paschembri | Owner: nobody
Type: Uncategorized | Status: new
Component: Core (URLs) | Version: 1.7
Severity: Normal | Keywords: wsgi nginx script_name
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
I observed that when using nginx with gunicorn and the SCRIPT_NAME is set
to '/' every request is stripped from the leading '/'.
The consequence is that these requests cannot be correctly resolved.
As documented, when path_info is empty, it is graciously forced to '/'.
But when path_info does not start with '/', nothing is done.
Is this behavior desirable ?
--
Ticket URL: <https://code.djangoproject.com/ticket/24450>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.27acd4d9b66c93c3bd3dbf6b3b54bc94%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.