Closed Bug 645625 Opened 13 years ago Closed 13 years ago

[kitsune] Fix redirect error after SSL turned on

Categories

(support.mozillamessaging.com Graveyard :: General, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rolandtanglao, Assigned: gozer)

References

()

Details

as per :gozer, there's some kind of redirect error after SSL is turned on that needs to be fixed
You shouldn't need an .htaccess rewrite (the webroot/ directory contains all the .htaccess you should need).

The login view[1] is wrapped in our @ssl_required[2] decorator which guarantees the request will be HTTPS unless settings.DEBUG is True (should never be True even in a staging server). Also, your HTTPS vhost should bet setting `SetEnv HTTPS on`, but that's standard for Apache.


[1] https://github.com/jsocol/kitsune/blob/2.6.2.3/apps/users/views.py#L31
[2] https://github.com/jsocol/kitsune/blob/2.6.2.3/apps/sumo/decorators.py
AH, problem solved, we had DEBUG turned on in staging.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.