Skip to content

Commit

Permalink
Release 2.36.0
Browse files Browse the repository at this point in the history
  • Loading branch information
albfernandez committed Jan 18, 2025
1 parent dc24f28 commit a440276
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.albfernandez</groupId>
<artifactId>pmd-gds</artifactId>
<version>2.36.0-SNAPSHOT</version>
<version>2.36.0</version>
<url>https://github.com/albfernandez/GDS-PMD-Security-Rules</url>
<packaging>jar</packaging>
<name>PMD-Security-Rules</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,9 @@ private void clearTaintedAndVariablesList() {
}

protected boolean isSanitizerMethod(String type, String method) {
return this.sanitizers.contains(type + "." + method) || this.sanitizers.contains("*." + method);
return this.sanitizers.contains(type + "." + method) ||
this.sanitizers.contains("*." + method) ||
this.sanitizers.contains(type + ".*");
}

private boolean isSink(String objectTypeAndMethod) {
Expand Down

0 comments on commit a440276

Please sign in to comment.