bakerkretzmar / laravel-deploy-preview

A GitHub Action to deploy PR preview sites for Laravel apps.
MIT License
19 stars 6 forks source link

Normalise Domain Names #22

Closed GlitchWitch closed 10 months ago

GlitchWitch commented 10 months ago

Currently domain names are generated directly from the PR branch name.

However if a branch contains the / character, _ character, or -- double dashes it may not properly resolve if used directly as a domain name.

Similar to database normalisation that is done, it would be good to normalise domain names based on RFC5891