From e39320d51d0ae27747c17fb3e7da0e9e7664b903 Mon Sep 17 00:00:00 2001 From: vlofgren Date: Sun, 7 Aug 2022 17:51:32 +0200 Subject: [PATCH] Add support for additional random sets --- .../wmsa/edge/search/command/commands/BrowseCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/marginalia_nu/src/main/java/nu/marginalia/wmsa/edge/search/command/commands/BrowseCommand.java b/marginalia_nu/src/main/java/nu/marginalia/wmsa/edge/search/command/commands/BrowseCommand.java index db289d8c..68a3a47b 100644 --- a/marginalia_nu/src/main/java/nu/marginalia/wmsa/edge/search/command/commands/BrowseCommand.java +++ b/marginalia_nu/src/main/java/nu/marginalia/wmsa/edge/search/command/commands/BrowseCommand.java @@ -30,7 +30,7 @@ public class BrowseCommand implements SearchCommandInterface { private final MustacheRenderer browseResultsRenderer; private final BrowseResultCleaner browseResultCleaner; private final Logger logger = LoggerFactory.getLogger(getClass()); - private final Predicate queryPatternPredicate = Pattern.compile("^browse:[.A-Za-z\\-0-9]+$").asPredicate(); + private final Predicate queryPatternPredicate = Pattern.compile("^browse:[.A-Za-z\\-0-9:]+$").asPredicate(); @Inject public BrowseCommand(EdgeDataStoreDao edgeDataStoreDao,