mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
fix: address PR comments
This commit is contained in:
committed by
Rakshith Gopalakrishna
parent
0f63f0dda2
commit
97f9a882c6
@@ -15,7 +15,8 @@ private class ShortStringLiteral extends StringLiteral {
|
||||
class BrokenAlgoLiteral extends ShortStringLiteral {
|
||||
BrokenAlgoLiteral() {
|
||||
this.getValue().regexpMatch(getInsecureAlgorithmRegex()) and
|
||||
not this.getValue().regexpMatch(getASecureAlgorithmName()) and
|
||||
// Exclude RSA/ECB/.* ciphers.
|
||||
not this.getValue().regexpMatch("RSA/ECB.*") and
|
||||
// Exclude German and French sentences.
|
||||
not this.getValue().regexpMatch(".*\\p{IsLowercase} des \\p{IsLetter}.*")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user