24-09-2024
02:46 AM
- last edited on
24-09-2024
09:06 AM
by
JeanT
The webpage used for tracking orders https://ee.co.uk/help/orders/track-mobile-order automatically fails for email addresses with domains the validly contain a hyphen e.g. test@this-domain.com fails validation due an incorrect REGEX expression test in:
<input name="emailOrPhoneNumber" id="email_or_phonenumber" type="text" class="eeid-input form-control__field" maxlength="512" autocomplete="off" required="true" pattern="^(^([a-zA-Z0-9_+&*-]+(\.[a-zA-Z0-9_+&*-]+)*@[a-zA-Z0-9_]+(\.[a-zA-Z0-9]{1,})*)$)|(^((\+|0{2})?44|0)7(\d){9}$)$">
This site gets worse year on year, I'm not even going to mention the iPhone pre-ordering program!
24-09-2024 03:27 AM
So it does! Yet it has a valid domain.
24-09-2024 12:55 PM
Hi @Stuart0870
Thanks for bringing this to our attention. I've passed this anomaly on to be looked into.
Ali