﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
4710	ModPythonRequest.is_secure(): accept greater range of HTTPS env. settings	anonymous	nobody	"Hi,

In django/core/handlers/modpython.py, the method
ModPythonRequest.is_secure() method checks the setting of the HTTPS
environment variable.  Currently it assumes that this will be set to
the string ""on"" if SSL is active.  However, it is common to use other
values, in particular ""1"" - do a google search for `apache ""SetEnv
HTTPS 1""' to see examples of this.  The current version of is_secure
will incorrectly return False in this case.

The submitted patch fixes this issue.  In addition, it removes case
insensitivity, and makes it easy to extend, if it turns out other
values (like ""true"" or something) need to be accepted.

Thanks,
[[br]]Aaron Maxwell
[[br]]!SnapLogic - Open Source Data Integration
[[br]]http://SnapLogic.org
"		closed	Uncategorized	dev		fixed			Ready for checkin	1	0	0	0	0	0
