Skip to content

Commit

Permalink
Undoing overzealous filename character checking. T Issue #1105
Browse files Browse the repository at this point in the history
  • Loading branch information
mendhak committed Nov 12, 2023
1 parent 6b8e026 commit 1f40793
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void requestToggleLogging() {
formElements.add(Input.plain(PreferenceNames.CUSTOM_FILE_NAME)
.required()
// Don't allow *, &, %, / or \ in the file name.
.validatePattern("^[^*&%/\\\\]+$", "Invalid file name")
.validatePattern("^[^*/\\\\]+$", "Invalid file name")
.suggest(new ArrayList<>(cachedList))
.text(preferenceHelper.getCustomFileName())
);
Expand Down

0 comments on commit 1f40793

Please sign in to comment.