1. 12 3月, 2017 1 次提交
  2. 22 11月, 2016 1 次提交
  3. 07 8月, 2016 2 次提交
  4. 23 4月, 2016 1 次提交
  5. 19 7月, 2015 1 次提交
  6. 13 4月, 2015 1 次提交
  7. 09 4月, 2015 1 次提交
  8. 02 8月, 2014 1 次提交
  9. 04 9月, 2013 1 次提交
  10. 27 4月, 2013 1 次提交
  11. 25 4月, 2013 2 次提交
    • A
      Add support for extra options to `force_ssl` · f99ce3c1
      Andrew White 提交于
      This commit adds support for passing additional url options along
      with a :status option and any of the flash-related options to
      `redirect_to` (i.e. :flash, :alert & :notice).
      
      Closes #7570.
      f99ce3c1
    • A
      Use `request.fullpath` to build redirect url in `force_ssl` · 8227bf7e
      Andrew White 提交于
      The `force_ssl` command now builds the redirect url from `request.fullpath`.
      This ensures that the format is maintained and it doesn't redirect to a route
      that has the same parameters but is defined earlier in `routes.rb`. Also any
      optional segments are maintained.
      
      Fixes #7528.
      Fixes #9061.
      Fixes #10305.
      8227bf7e
  12. 08 12月, 2012 1 次提交
  13. 28 10月, 2012 1 次提交
  14. 13 8月, 2012 1 次提交
  15. 01 6月, 2012 1 次提交
    • J
      Extracted redirect logic from ActionController::Force::ClassMethods.force_ssl · 47918223
      Jeremy Friesen 提交于
      Prior to this patch the existing .force_ssl method handles both defining
      the filter and handling the logic for performing the redirect.
      
      With this patch the logic for redirecting to the HTTPS protocol is
      separated from the filter logic that determines if a redirect should
      occur.  By separating the two levels of behavior, an instance method
      for ActionController (i.e. #force_ssl_redirect) is exposed and available
      for more granular SSL enforcement.
      
      Cleaned up indentation.
      47918223
  16. 14 3月, 2012 1 次提交
  17. 23 2月, 2012 3 次提交
  18. 08 2月, 2012 1 次提交
    • R
      Fixed force_ssl redirects to include original query params · 6efb849b
      Ryan McGeary 提交于
      `ActionController.force_ssl` redirects http URLs to their https equivalent;
      however, when a URL contains a query string, the resulting redirect lacked the
      original query string.
      
      Conflicts:
      
      	actionpack/lib/action_controller/metal/force_ssl.rb
      6efb849b
  19. 13 1月, 2012 1 次提交
  20. 09 10月, 2011 1 次提交
  21. 24 5月, 2011 1 次提交
  22. 28 3月, 2011 1 次提交