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

Enable Style/CommandLiteral cop #51741

Commits on May 6, 2024

  1. Enable Style/CommandLiteral cop

    PR rails#49624 contained commit 0c76f17 which mistakenly used backticks
    instead of normal string quotes. This is easy to miss, but risks
    introducing a security vulnerability into the codebase.
    
    Forcing the use of `%x()` should make it more obvious visually where
    the command literals are.
    
    See related rails#51739
    flavorjones committed May 6, 2024
    Configuration menu
    Copy the full SHA
    6db0887 View commit details
    Browse the repository at this point in the history