amplify-hosting
amplify-hosting copied to clipboard
Invalid URLs in notification emails sent by Amplify Console
AWS notifications send incorrect URL for build URLs.
I have a branch named feature/my_CoolBranch, the build URL for in Amplify Console is therefore:
https://feature-my-coolbranch.<id_generated_by_amplify>.amplifyapp.com.
However, the URL in the email notification is corrupt and the same branch reads
https://feature/my_CoolBranch.<id_generated_by_amplify>.amplifyapp.com
I'd expect the URL in the email to match the valid URL as shown in the Console UI.
This can be consistently replicated with any branch name containing underscore _, slash /. In addition the case should be normalised, i. e. lowercased.
Okay looks, like notification service needs to catch nonalpha/numerical characters and replace them with -, it should also convert all characters to lowercase. I will work on submitting a fix for this.
Hi, we found the same problem. Is there any progress on this issue?
+1 since #739 got closed, even though this isn't fixed.