From 1358dd62e4ab91171c80b1a04aa9772d0c52bd31 Mon Sep 17 00:00:00 2001 From: rupert-griffin <167495366+rupert-griffin@users.noreply.github.com> Date: Wed, 31 Jul 2024 10:25:14 -0400 Subject: [PATCH] Comment typo --- src/main/java/emissary/output/filter/AbstractFilter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/emissary/output/filter/AbstractFilter.java b/src/main/java/emissary/output/filter/AbstractFilter.java index a75ddadac1..184f94abcb 100755 --- a/src/main/java/emissary/output/filter/AbstractFilter.java +++ b/src/main/java/emissary/output/filter/AbstractFilter.java @@ -222,12 +222,12 @@ protected String validateAndRemoveDenylistFiletype(final String entry) { String filetype = names[0]; String viewName = names[1]; - if (filetype.equals("*")) { // DENYLIST = "*." now allowed + if (filetype.equals("*")) { // DENYLIST = "*." not allowed throw new EmissaryRuntimeException(String.format( "Invalid filter configuration: `DENYLIST = %s` " + "wildcarded filetypes not allowed in denylist - Did you mean `DENYLIST = \"%s\"`?", entry, viewName)); - } else if (!filetype.chars().allMatch(ch -> Character.isLetterOrDigit(ch) || ch == '_')) { // DENYLIST = "*." now allowed + } else if (!filetype.chars().allMatch(ch -> Character.isLetterOrDigit(ch) || ch == '_')) { // DENYLIST = "*." not allowed throw new EmissaryRuntimeException(String.format( "Invalid filter configuration: `DENYLIST = %s` " + "filetype `%s` must be a sequence of [A-Z, a-z, 0-9, _]",