1. 24 12月, 2008 1 次提交
  2. 23 12月, 2008 6 次提交
  3. 02 12月, 2008 1 次提交
    • D
      Making the IP Spoofing check in AbstractRequest#remote_ip configurable. · 0a4a5f31
      Darren Boyd 提交于
      Certain groups of web proxies do not set these values properly.  Notably,
      proxies for cell phones, which often do not set the remote IP information
      correctly (not surprisingly, since the clients do not have an IP address).
      
      Allowing this to be configurable makes it possible for developers to choose
      to ignore this simple spoofing check, when a significant amount of their
      traffic would result in false positives anyway.
      Signed-off-by: NMichael Koziarski <michael@koziarski.com>
      
      [#1200 state:committed]
      0a4a5f31
  4. 01 12月, 2008 2 次提交
  5. 07 11月, 2008 1 次提交
  6. 02 11月, 2008 1 次提交
  7. 21 10月, 2008 1 次提交
  8. 30 9月, 2008 1 次提交
  9. 04 9月, 2008 1 次提交
  10. 28 8月, 2008 1 次提交
  11. 20 8月, 2008 1 次提交
  12. 08 8月, 2008 2 次提交
  13. 01 8月, 2008 1 次提交
  14. 25 7月, 2008 1 次提交
  15. 16 7月, 2008 1 次提交
  16. 10 7月, 2008 2 次提交
  17. 07 7月, 2008 1 次提交
    • M
      Disable the Accept header by default · 2f4aaed7
      Michael Koziarski 提交于
      The accept header is poorly implemented by browsers and causes strange errors when used on public sites where crawlers make requests too.  You should use formatted urls (e.g. /people/1.xml) to support API clients. Alternatively to re-enable it you need to set:
      
      config.action_controller.use_accept_header = true
      
      A special case remains for ajax requests which will have a javascript format for the base resource (/people/1) if the X-Requested-With header is present.  This lets ajax pages still use format.js despite there being no params[:format]
      2f4aaed7
  18. 04 7月, 2008 1 次提交
  19. 04 6月, 2008 1 次提交
  20. 20 5月, 2008 1 次提交
  21. 02 5月, 2008 1 次提交
  22. 08 4月, 2008 1 次提交
  23. 29 3月, 2008 2 次提交
  24. 13 3月, 2008 1 次提交
  25. 11 3月, 2008 1 次提交
  26. 07 3月, 2008 1 次提交
  27. 08 2月, 2008 1 次提交
  28. 11 1月, 2008 1 次提交
  29. 27 12月, 2007 1 次提交
  30. 17 12月, 2007 1 次提交
  31. 07 12月, 2007 1 次提交