Commit Graph

15 Commits

Author SHA1 Message Date
Jeffrey Gelens d2a0f8330f self.app in __init__ is not needed anymore 2013-07-18 09:45:33 +02:00
Jeffrey Gelens 9c12df10c4 Fixed bug when initializing SSLify without 'app' argument and using init_app(app) to
set it later.
2013-07-18 09:43:09 +02:00
Vincent Driessen d7f8d27681 Add optional permanent argument, to send 301's instead of 302's.
This fixes #7.
2012-10-26 22:50:40 +02:00
Vincent Driessen 37a07ce671 PEP8ify. 2012-10-26 22:50:40 +02:00
Vincent Driessen 3b2f681adb Replace only the scheme part of the URL.
This prevents accidental rewrites of any HTTP URLs in query string
parameters, like for example:

    http://localhost/translate?src=http://non-secure-site.org/
2012-04-30 08:03:37 +02:00
Kenneth Reitz 348866bff9 Update flask_sslify.py 2012-04-29 20:22:46 -03:00
holdenweb e91646bc32 Update flask_sslify.py 2012-04-29 16:21:08 -07:00
Kenneth Reitz 7dd3c8cb21 don't set hsts on redirect 2012-04-29 18:43:30 -04:00
Kenneth Reitz 4c5ab695d0 hsts magic 2012-04-29 18:42:22 -04:00
Kenneth Reitz 0764a92d3f HSTS 2012-04-29 18:19:39 -04:00
Kenneth Reitz e9191b8aad HSTS Policy 2012-04-29 17:34:01 -04:00
Kenneth Reitz 53e7bfa2d1 change app reference 2012-04-29 16:54:45 -04:00
Kenneth Reitz e1fe302482 Fixes #1 2012-04-29 16:51:48 -04:00
Kenneth Reitz 60ee9fd8b4 X-Forwarded-Proto[C 2012-04-29 16:46:19 -04:00
Kenneth Reitz b9a87468bf setups 2012-04-29 16:21:28 -04:00