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

HTML rules should scan HTML templates with different extensions #2508

Open
Sjord opened this issue Oct 28, 2022 · 1 comment
Open

HTML rules should scan HTML templates with different extensions #2508

Sjord opened this issue Oct 28, 2022 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@Sjord
Copy link
Contributor

Sjord commented Oct 28, 2022

My ASP.NET project contains many .cshtml files. My PHP project contains .html.twig files. I would like semgrep to scan these automatically using the HTML rules.

@Sjord Sjord added the bug Something isn't working label Oct 28, 2022
@LewisArdern LewisArdern added the enhancement New feature or request label Oct 28, 2022
@LewisArdern
Copy link
Contributor

Thanks for the report -- we should probably have a list of general extensions which contain html e.g. jsp per language and include the file definitions in the include field for all 'html' style rules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Development

No branches or pull requests

3 participants
@Sjord @LewisArdern and others