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

Allow Rails html_safe for non-interpolated String literal receiver #6594

Merged
merged 1 commit into from
Dec 21, 2018
Merged

Allow Rails html_safe for non-interpolated String literal receiver #6594

merged 1 commit into from
Dec 21, 2018

Commits on Dec 21, 2018

  1. Allow Rails html_safe for non-interpolated String literal receiver

    Tagging a string as html safe may be a security risk only when the string could contain random user input values.
    Marking a statically coded string literal as html safe is a totally valid usage of html_safe.
    amatsuda committed Dec 21, 2018
    Configuration menu
    Copy the full SHA
    79daf40 View commit details
    Browse the repository at this point in the history