Opened 17 years ago
Closed 17 years ago
#5604 closed (fixed)
Access over HTTPS broken when using WSGI
Reported by: | Ramiro Morales | Owned by: | nobody |
---|---|---|---|
Component: | HTTP handling | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The WSGI handler relies on the presence of the 'HTTPS' environment var to detect the use of HTTPS.
WSGI spec dictates a server-side implementation MUST export a 'wsgi.url_scheme' var and SHOULD
export a 'HTTPS' var.
Fix is a one-line patch.
discussed on:
http://groups.google.com/group/django-developers/browse_frm/thread/5af492b48fee4ff0?hl=en
http://groups.google.com/group/modwsgi/browse_frm/thread/9cb69065a92e8f29?hl=en
Attachments (1)
Change History (4)
by , 17 years ago
Attachment: | wsgi_https.diff added |
---|
comment:1 by , 17 years ago
Has patch: | set |
---|
comment:2 by , 17 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Yep, it's good.