1. 26 Nov, 2019 1 commit
    • Heinrich Lee Yu's avatar
      Fix HTML escaping in StringRangeMarker · 5dfddb5f
      Heinrich Lee Yu authored
      Rails now handles html_safe when using string ranges
      to replace text.
      
      We need to mark the replacement text as HTML-safe so that it
      doesn't get escaped when it gets inserted into the HTML-safe
      string.
      
      Example:
      
      string = "<p>Hello</p>".html_safe
      string[3..4] = "<b>He</b>"
      
      "<p>&lt;b&gt;He&lt;/b&gt;llo</p>"
      
      Correct way:
      
      string = "<p>Hello</p>".html_safe
      string[3..4] = "<b>He</b>".html_safe
      
      "<p><b>He</b>llo</p>"
      5dfddb5f
  2. 25 Feb, 2019 1 commit
  3. 21 Feb, 2019 1 commit
  4. 07 Nov, 2018 1 commit
    • gfyoung's avatar
      Enable even more frozen string in lib/gitlab · 7e6f6e16
      gfyoung authored
      Enables frozens string for the following:
      
      * lib/gitlab/conflict/**/*.rb
      * lib/gitlab/cross_project_access/**/*.rb
      * lib/gitlab/cycle_analytics/**/*.rb
      * lib/gitlab/data_builder/**/*.rb
      * lib/gitlab/database/**/*.rb
      * lib/gitlab/dependency_linker/**/*.rb
      * lib/gitlab/diff/**/*.rb
      * lib/gitlab/downtime_check/**/*.rb
      * lib/gitlab/email/**/*.rb
      * lib/gitlab/etag_caching/**/*.rb
      
      Partially addresses gitlab-org/gitlab-ce#47424.
      7e6f6e16
  5. 31 Jan, 2018 2 commits
  6. 27 Jun, 2017 1 commit
  7. 23 Jun, 2017 1 commit
  8. 25 May, 2017 3 commits
  9. 23 May, 2017 10 commits
  10. 13 May, 2017 1 commit
  11. 12 May, 2017 1 commit
  12. 10 May, 2017 1 commit