Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit 7ffd647

Browse files
committed
issue#80271 fix whitelist
1 parent edd4a69 commit 7ffd647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SecurityAPICommons/src/main/java/com/genexus/securityapicommons/utils/ExtensionsWhiteList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public boolean isValid(String path) {
2323
return false;
2424
}
2525
String ext = SecurityUtils.getFileExtension(path);
26-
for (int i = 0; i <= this.whitelist.size(); i++) {
26+
for (int i = 0; i < this.whitelist.size(); i++) {
2727
if (SecurityUtils.compareStrings(ext, this.whitelist.get(i))) {
2828
return true;
2929
}

0 commit comments

Comments
 (0)