1. 03 4月, 2020 1 次提交
  2. 09 3月, 2019 1 次提交
  3. 14 1月, 2019 1 次提交
  4. 11 1月, 2019 1 次提交
  5. 08 10月, 2018 1 次提交
  6. 04 9月, 2018 1 次提交
  7. 29 11月, 2017 1 次提交
  8. 24 10月, 2017 1 次提交
  9. 18 9月, 2017 1 次提交
  10. 22 8月, 2017 1 次提交
  11. 08 8月, 2017 1 次提交
    • C
      [ci skip] Prefer cookies.encrypted over signed (#30129) · af954ddd
      Claudio B 提交于
      In some examples and guides we are recommending to use code like:
      
      ```ruby
      verified_user = User.find_by(id: cookies.signed[:user_id])
      ```
      
      My suggestion is to use instead:
      
      ```ruby
      verified_user = User.find_by(id: cookies.encrypted[:user_id])
      ```
      
      which invites users to prefer the "newer" encrypted cookies over the
      "legacy" signed cookies.
      af954ddd
  12. 14 6月, 2017 1 次提交
  13. 23 5月, 2017 1 次提交
  14. 25 3月, 2017 3 次提交
  15. 24 12月, 2016 1 次提交
  16. 11 10月, 2016 1 次提交
    • M
      Permit same-origin connections by default · dae40447
      Matthew Draper 提交于
      WebSocket always defers the decision to the server, because it didn't
      have to deal with legacy compatibility... but the same-origin policy is
      still a reasonable default.
      
      Origin checks do not protect against a directly connecting attacker --
      they can lie about their host, but can also lie about their origin.
      Origin checks protect against a connection from 3rd-party controlled
      script in a context where a victim browser's cookies will be passed
      along. And if an attacker has breached that protection, they've already
      compromised the HTTP session, so treating the WebSocket connection in
      the same way seems reasonable.
      
      In case this logic proves incorrect (or anyone just wants to be more
      paranoid), we retain a config option to disable it.
      dae40447
  17. 05 10月, 2016 1 次提交
  18. 21 9月, 2016 1 次提交
  19. 03 7月, 2016 1 次提交
  20. 27 6月, 2016 2 次提交
  21. 16 6月, 2016 1 次提交
  22. 05 6月, 2016 2 次提交
  23. 31 5月, 2016 1 次提交
  24. 27 5月, 2016 2 次提交
  25. 08 5月, 2016 1 次提交
  26. 07 5月, 2016 1 次提交
  27. 02 5月, 2016 1 次提交
  28. 18 4月, 2016 1 次提交
  29. 15 4月, 2016 1 次提交
  30. 12 3月, 2016 1 次提交
  31. 01 3月, 2016 1 次提交
  32. 28 2月, 2016 1 次提交
  33. 23 2月, 2016 1 次提交
  34. 18 2月, 2016 1 次提交
    • J
      Full Action Cable documentation read through · 05088b62
      Jon Moss 提交于
      This PR checks all active Action Cable documentation for typos and other
      fixes. It aims to make sure that when Rails 5 is released, that the
      Action Cable docs are up to snuff with the other documentation included
      with Rails.
      
      [ci skip]
      05088b62
  35. 10 2月, 2016 1 次提交