Commit Graph

45 Commits

Author SHA1 Message Date
tofias fc22468876 Removed comments, returned request.is_secure check 2015-03-25 18:59:59 -05:00
tofias ce0b305a2a Update README.rst 2015-03-25 18:42:08 -05:00
tofias 30c27772bb Adds ability to exclude paths from redirects. 2015-03-25 18:37:12 -05:00
kennethreitz 6f4b90ddca Merge pull request #22 from mbr/blueprint-fix
Use current_app instead of hard-coupling extension to app.
2014-06-12 11:41:17 -04:00
kennethreitz c7ae85f2cc Merge pull request #21 from mbr/master
Update README.rst with some notes on security.
2014-03-03 13:12:24 -05:00
Marc Brinkmann 39223823d9 Use current_app instead of hard-coupling extension to app.
This is good practice, regardless of whether Blueprints will be
supported!
2014-02-22 17:04:28 +01:00
Marc Brinkmann 800e250d12 Update README.rst with some notes on security.
This closes #7.
2014-02-22 16:55:04 +01:00
kennethreitz 6217898a50 Merge pull request #8 from nvie/master
Don't send HSTS headers over non-HTTPS connections
2014-01-08 11:09:27 -08:00
kennethreitz dcbaccb2e9 Merge pull request #17 from bazerk/master
Fix breaking error in init, probably a bad merge
2014-01-08 11:08:17 -08:00
bazbarrett 2cf147cc4b Fix breaking error in init, probably a bad merge 2013-10-30 15:20:49 +00:00
Kenneth Reitz f0b8840ced Merge pull request #14 from jgelens/master
Make init_app work properly
2013-08-30 05:11:03 -07:00
Kenneth Reitz 0fd33a6f53 Merge pull request #15 from zyegfryed/patch-1
Typo and emphase on default duration
2013-08-30 05:07:47 -07:00
Sébastien Fievet 127e5ed4a3 Typo and emphase on default duration 2013-08-30 13:50:36 +02:00
Jeffrey Gelens f7c3aa9b92 Move hsts_age and other variables set in __init__ out of the if statement 2013-07-18 09:48:41 +02:00
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
Kenneth Reitz 5572862701 Merge pull request #10 from roadhead/patch-1
Added documentation for 301 responses
2013-03-06 09:50:04 -08:00
Rohit Sankaran 65e16e0570 Added documentation for 301 responses
Documented the addition of the permanent parameter.
2013-02-25 10:51:33 -06:00
Kenneth Reitz 3d904bc841 v0.1.4 v0.1.4 2012-11-16 03:09:27 +01:00
Kenneth Reitz db601ac8ce Merge pull request #9 from nvie/allow-permanent-redirects
Allow permanent redirects (301)
2012-11-15 18:05:28 -08: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 0a8a866145 Don't send HSTS headers over non-HTTPS connections.
This fixes #6.
2012-10-26 22:41:35 +02:00
Kenneth Reitz 6735984ce2 Merge pull request #4 from nvie/master
Replace only the scheme part of the URL.
2012-04-29 23:08:01 -07: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
Kenneth Reitz 047c6a97a7 Merge pull request #2 from holdenweb/patch-1
Update flask_sslify.py
2012-04-29 16:22:26 -07:00
holdenweb e91646bc32 Update flask_sslify.py 2012-04-29 16:21:08 -07:00
Kenneth Reitz 34de40388b v0.1.3 v0.1.3 2012-04-29 18:43:54 -04: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 f663c16b88 update example 2012-04-29 17:40:47 -04:00
Kenneth Reitz 1c31ef10db examples v0.1.2 2012-04-29 17:35:17 -04:00
Kenneth Reitz e9191b8aad HSTS Policy 2012-04-29 17:34:01 -04:00
Kenneth Reitz 53e7bfa2d1 change app reference v0.1.1 2012-04-29 16:54:45 -04:00
Kenneth Reitz e1fe302482 Fixes #1 2012-04-29 16:51:48 -04:00
Kenneth Reitz 33c1616e0f Merge remote-tracking branch 'origin/master' 2012-04-29 16:46:25 -04:00
Kenneth Reitz 60ee9fd8b4 X-Forwarded-Proto[C 2012-04-29 16:46:19 -04:00
Kenneth Reitz 2ee97d0551 Update README.rst 2012-04-29 17:31:52 -03:00
Kenneth Reitz f343276b12 lawyer up v0.1.0 2012-04-29 16:27:43 -04:00
Kenneth Reitz 054421cc3f typo 2012-04-29 16:24:10 -04:00
Kenneth Reitz b9a87468bf setups 2012-04-29 16:21:28 -04:00
Kenneth Reitz c90929a3b9 readme 2012-04-29 16:01:13 -04:00
Kenneth Reitz ef6e64e048 first commit 2012-04-29 15:56:05 -04:00