Skip to content

Commit 9fc0481

Browse files
authored
Merge pull request #865 from simvue-io/wk9874/863-metric-name-validation
Fix name regex
2 parents f875531 + 1e84a32 commit 9fc0481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simvue/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
FOLDER_REGEX: str = r"^/.*"
8-
NAME_REGEX: str = r"^[a-zA-Z0-9\-\_\s\/\.:=><]+$"
8+
NAME_REGEX: str = r"^[a-zA-Z0-9\-\_\s\/\.:]+$"
99
METRIC_KEY_REGEX: str = r"^[a-zA-Z0-9\-\_\s\/\.:=><+\(\)]+$"
1010
DATETIME_FORMAT: str = "%Y-%m-%dT%H:%M:%S.%f"
1111

0 commit comments

Comments
 (0)