Another rule for request_is_secure

Create issue
Issue #1138 resolved
Alex Robbins created an issue

Hey, apparently there is absolutely no standard for firewalls that mess with ssl. Our hosting provider's firewall sets HTTP_X_SSL_REQUEST.

Any chance we could get this rule added into the request_is_secure function in satchmo_utils/ {{{


if 'HTTP_X_SSL_REQUEST' in request.META: return request.META['HTTP_X_SSL_REQUEST'] == '1'


There are already a couple other rules there, so it shouldn't be a big deal.

Thanks, Alex

Comments (2)

  1. Alex Robbins reporter

    That is a great idea Simon. That is definitely better than letting that module become a dumping ground for all of the weird SSL rules the firewall people have come up with.

    Marking this as resolved.

  2. Log in to comment