mirror of
https://github.com/trailofbits/skills
synced 2026-06-21 14:12:00 +00:00
add language caveat to quote equivalence comment
Quote normalization is language-dependent (e.g., Python treats single and double quotes as equivalent, but C/C++ does not). Add "in Python" qualifier to make this explicit in the example. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -216,7 +216,7 @@ pattern-either:
|
||||
- pattern: hashlib.md5(...)
|
||||
- pattern: md5(...)
|
||||
- pattern: hashlib.new("md5", ...)
|
||||
- pattern: hashlib.new('md5', ...) # Redundant - quotes equivalent
|
||||
- pattern: hashlib.new('md5', ...) # Redundant - quotes equivalent in Python
|
||||
- pattern: hashlib.new("md5") # Redundant - covered by ... variant
|
||||
- pattern: hashlib.new('md5') # Redundant - quotes + covered
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user