Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruby193: String#prepend #3229

Merged
merged 2 commits into from
Oct 5, 2011
Merged

ruby193: String#prepend #3229

merged 2 commits into from
Oct 5, 2011

Conversation

amatsuda
Copy link
Member

@amatsuda amatsuda commented Oct 5, 2011

Ruby 1.9.3 has a new String method prepend which should be considered unsafe.

> 'foo'.html_safe.prepend('><').html_safe?
=> true

This patch only applies to master, I will make another pr for 3-1-stable branch.

josevalim added a commit that referenced this pull request Oct 5, 2011
@josevalim josevalim merged commit ae4febd into rails:master Oct 5, 2011
@josevalim josevalim merged commit 87eab59 into rails:master Oct 5, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants