Skip to content

/ is not a valid DNS character #74

@sebbASF

Description

@sebbASF

# 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions