1. 10 11月, 2009 1 次提交
  2. 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
  3. 24 11月, 2008 1 次提交
  4. 19 7月, 2008 1 次提交
  5. 16 7月, 2008 1 次提交
  6. 25 6月, 2008 1 次提交
  7. 20 6月, 2008 2 次提交
  8. 03 6月, 2008 2 次提交
  9. 24 4月, 2008 1 次提交
  10. 08 4月, 2008 2 次提交
  11. 22 1月, 2008 1 次提交
  12. 11 1月, 2008 1 次提交
  13. 10 1月, 2008 1 次提交
  14. 07 1月, 2008 1 次提交
  15. 17 12月, 2007 1 次提交
  16. 10 12月, 2007 1 次提交