Django running ounder PyISAPIe on IIS doesn't detect HTTPS
|Reported by:||KayEss||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
The is_secure() function in django.http.Request uses os.environ to detect whether or not the request is HTTPS or not. This doesn't work on Windows because the environment doesn't contain this information.
PyISAPIe makes this information available in META (well, actually it doesn't yet, but that's another bug and patch to file against PyISAPIe).
The Django patch is against django.http.init.py and the PyISAPIe patch is against django.core.handlers.pysiapi.py. We're using Django trunk r8066.
Change History (9)
comment:1 Changed 9 years ago by
|Patch needs improvement:||set|
|Triage Stage:||Unreviewed → Accepted|