Skip to content

Commit

Permalink
Allow _ in selectedpath (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
ia3andy authored Nov 11, 2024
1 parent 37edc1d commit 987c8c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

public record SelectedPath(String path, String outputPath, PageSource source) {

private static final Pattern NON_FILE_CHARS = Pattern.compile("[^a-zA-Z0-9\\\\/.]");
private static final Pattern NON_FILE_CHARS = Pattern.compile("[^a-zA-Z0-9_\\\\/.\\-]");

private SelectedPath(SelectedPathBuilder builder) {
this(builder.path, builder.outputPath, builder.source);
Expand Down

0 comments on commit 987c8c0

Please sign in to comment.