Skip to content

3.1.8 html_escape gives warnings #7323

betelgeuse opened this Issue Aug 10, 2012 · 7 comments

6 participants


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

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


Dare I say... +1

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

I'll fix later

tbys commented Dec 17, 2012

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

Ruby on Rails member
tbys commented Dec 17, 2012
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
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.