DescriptionChecking for HTTPS with environment variable provides unreliable detection of https connection. For example, Apache2 HTTPS is set to '1' instead of standard 'on' value when mod_wsgi is active https://issues.apache.org/bugzilla/show_bug.cgi?id=50581#c6
So it is better to use Django facilities.
Patch Set 1 #Patch Set 2 : Use Django to detect if request is secure #MessagesTotal messages: 8
|