Skip to content

Conversation

@Emyrk
Copy link
Member

@Emyrk Emyrk commented Nov 17, 2021

Devurls will now support suffixs, this strips that suffix and places *.domain.

The *.domain will include the suffix for the DNS, but the Go code needs to read the suffix.

Example:
Input: *-prod.example.com
Output: *.example.com

Question

Should I implement some sort of regex check to test the suffix is valid DNS characters and fail if they do something wonky? I'd like to add some basic validation, but don't want to break old deployments.

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #18972: Dev URL Namespacing.

@Emyrk Emyrk requested a review from deansheather November 18, 2021 14:42
@Emyrk Emyrk merged commit ffce697 into main Nov 18, 2021
@Emyrk Emyrk deleted the stevenmasley/sc-18972/devurl branch November 18, 2021 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants