This project is archived and is in readonly mode.
Changeset [2c0c4d754e34b13379dfc53121a970c25fab5dae] by Prem Sichanugrist
Revision 2c0c4d754e34b13379dfc53121a970c25fab5dae,
committed by Prem Sichanugrist
· March 27th, 2011 @ 09:27 PM
Add config.force_ssl configuration which will load
Rack::SSL middleware if set to true
This will allow user to be able to force all requests to be under HTTPS protocol.
This commit was a request from DHH. Special thanks to Josh Peek
as well for making Rack::SSL.
https://github.com/rails/rails/commit/2c0c4d754e34b13379dfc53121a97...
9 changed files
-
M
railties/CHANGELOG -
M
railties/guides/source/configuring.textile -
M
railties/guides/source/security.textile -
M
railties/lib/rails/application.rb -
M
railties/lib/rails/application/configuration.rb -
M
railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt -
M
railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt -
M
railties/railties.gemspec -
M
railties/test/application/middleware_test.rb