Skip to content

Commit

Permalink
fix: componet path validate (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
Han-Ya-Jun authored Mar 28, 2024
1 parent f4da454 commit 0de5179
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class FunctionControllerCodeEnum(StructuredEnum):


SYSTEM_NAME_PATTERN = re.compile(r"^[a-zA-Z][a-zA-Z0-9_]*$")
CHANNEL_PATH_PATTERN = re.compile(r"^/[/a-zA-Z0-9_-]+$")
CHANNEL_PATH_PATTERN = re.compile(r"^/[\w{}/.-]*$")
COMPONENT_CODENAME_PATTERN = re.compile(r"^[a-z][a-z0-9._]+[a-z0-9_]$")
COMPONENT_NAME_PATTERN = re.compile(r"^[a-zA-Z][a-zA-Z0-9_]*$")

Expand Down

0 comments on commit 0de5179

Please sign in to comment.