1. 08 10月, 2009 1 次提交
    • M
      Switch to on-by-default XSS escaping for rails. · 94159359
      Michael Koziarski 提交于
        This consists of:
      
        * String#html_safe! a method to mark a string as 'safe'
        * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it
        * Calls to String#html_safe! throughout the rails helpers
        * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB)
        * New ERB implementation based on erubis which uses a SafeBuffer instead of a String
      
      Hat tip to Django for the inspiration.
      94159359
  2. 04 10月, 2009 1 次提交
  3. 12 9月, 2009 1 次提交
  4. 10 8月, 2009 1 次提交
  5. 09 8月, 2009 1 次提交
  6. 21 7月, 2009 1 次提交
  7. 20 7月, 2009 1 次提交
  8. 19 7月, 2009 2 次提交
  9. 03 7月, 2009 2 次提交
  10. 18 6月, 2009 1 次提交
  11. 09 6月, 2009 1 次提交
  12. 09 4月, 2009 1 次提交
  13. 27 2月, 2009 1 次提交
  14. 13 2月, 2009 1 次提交
  15. 11 2月, 2009 1 次提交
  16. 06 2月, 2009 1 次提交
  17. 01 2月, 2009 1 次提交
  18. 21 12月, 2008 1 次提交
  19. 20 7月, 2008 1 次提交
  20. 09 6月, 2008 1 次提交
  21. 03 6月, 2008 1 次提交
  22. 22 5月, 2008 1 次提交
  23. 06 5月, 2008 1 次提交
  24. 02 5月, 2008 1 次提交
  25. 01 5月, 2008 2 次提交
  26. 20 4月, 2008 1 次提交
  27. 25 3月, 2008 1 次提交
  28. 02 2月, 2008 1 次提交
  29. 05 1月, 2008 1 次提交
  30. 02 12月, 2007 2 次提交
  31. 28 10月, 2007 1 次提交
  32. 26 10月, 2007 1 次提交
  33. 24 10月, 2007 1 次提交
  34. 08 10月, 2007 1 次提交
  35. 28 9月, 2007 1 次提交
  36. 23 9月, 2007 1 次提交