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

Fixed XSS vulnerability within bootstrap_flash that was occuring by call... #716

Merged
merged 1 commit into from Mar 25, 2014

Conversation

forced-request
Copy link
Contributor

...ing .html_safe explicitly on the msgs being rendered.

…alling .html_safe explicitly on the msgs being rendered.
seyhunak added a commit that referenced this pull request Mar 25, 2014
Fixed XSS vulnerability within bootstrap_flash that was occuring by call...
@seyhunak seyhunak merged commit 663760e into seyhunak:master Mar 25, 2014
@simita84
Copy link

simita84 commented Apr 2, 2014

Thanks, was facing this issue

@raldred
Copy link

raldred commented Dec 13, 2014

How do you allow html_safe messages through this helper?
This does not work:
flash[:notice] = "You need to be registered first, #{view_context.link_to "Register Now", registration_path}".html_safe

Could someone explain why this patch was required?

@raldred raldred mentioned this pull request Dec 13, 2014
@vassilevsky
Copy link

This was a fix for the vulnerability described here: https://blog.nvisium.com/p594

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

5 participants