amplify-backend
amplify-backend copied to clipboard
Build notifications have unescaped url
Environment information
General
Describe the bug
We have amplify branch deployments and their build notifications enabled. When pushing branches like feature/cool-thing, the deployment URL is something like https://feature-cool-thing.[appid].amplifyapp.com
The build notification states
Build notification from the AWS Amplify Console for app: https://feature/cool-thing.du3jckf[...].amplifyapp.com/.
Instead the branch name should be dash encoded
Reproduction steps
- Create amplify app
- setup build notifications
- push a branch with "/" in it
- receive wrongly formatted build notification