Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 90d1181

Browse files
committed
Update the regex to be the original one
1 parent 908d659 commit 90d1181

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/ql/src/experimental/Security/CWE/CWE-532/SensitiveInfoLog.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import PathGraph
1717
* Gets a regular expression for matching names of variables that indicate the value being held may contain sensitive information
1818
*/
1919
private string getACredentialRegex() {
20-
result = "(?i)(.*uri|url).*"
20+
result = "(?i)(url).*"
2121
}
2222

2323
/** Variable keeps sensitive information judging by its name * */

0 commit comments

Comments
 (0)