-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
infrastructure-asfyaml/asfyaml/feature/website_staging.py
Lines 87 to 88 in 486c4d2
| # The profile value is used in the staging host name, so must only contain valid DNS characters | |
| if profile and not re.match(r"^[-.a-zA-Z0-9/]*$", profile): |
The '/' character is not valid in DNS names, so should not be allowed here.
Also, the string is used to construct a host name, which presumably needs to be covered by the wildcard Certificate for *.staged.apache.org.
This implies that '.' must be disallowed as well.
Metadata
Metadata
Assignees
Labels
No labels