Skip to content

3.1.8 html_escape gives warnings #7323

Closed
betelgeuse opened this Issue Aug 10, 2012 · 7 comments

6 participants

@betelgeuse

The fix for #7215 by @spastorino caused #3927 to manifest again and now my tests run spamming with:

/Users/betelgeuse/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.1.8/lib/active_support/core_ext/string/output_safety.rb:23: warning: regexp match /.../n against to UTF-8 string
@betelgeuse

@spastorino was it the case that the xml solution by @jeremy could not handle single quotes?

@benpickles

Dare I say... +1

@rafaelfranca rafaelfranca was assigned Aug 15, 2012
@rafaelfranca
Ruby on Rails member

I'll fix later

@tbys
tbys commented Dec 17, 2012

When will we see a release that applies this patch? Can't wait.

@steveklabnik
Ruby on Rails member
@tbys
tbys commented Dec 17, 2012
@carlosantoniodasilva
Ruby on Rails member

@tbys perhaps you can bundle from github, pointing to 3-1-stable branch, that contains this patch. Another 3.1.x version will only be released if a security fix is necessary.

@Mange Mange added a commit to Mange/rails that referenced this issue Aug 13, 2015
@rafaelfranca rafaelfranca Remove warning when using html_escape with Ruby 1.9.
Closes #7323
99703f3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.