Skip to content

Commit c69a22f

Browse files
committed
Allow forward slashes in series name when validating input
1 parent dadb02d commit c69a22f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/murfey/server/api/clem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def get_db_entry(
163163

164164
# Validate series name to use
165165
if series_name is not None:
166-
if bool(re.fullmatch(r"^[\w\s\.\-]+$", series_name)) is False:
166+
if bool(re.fullmatch(r"^[\w\s\.\-/]+$", series_name)) is False:
167167
raise ValueError("One or more characters in the string are not permitted")
168168

169169
# Return database entry if it exists

0 commit comments

Comments
 (0)