brave / ads-ui

Self-service ads UI
Mozilla Public License 2.0
22 stars 11 forks source link

.security not recognized as a valid domain name #1167

Closed murphyd closed 4 months ago

murphyd commented 4 months ago

A customer attempted to sign up with a .security domain name and it was labeled as invalid. .security should be treated as valid.

tackley commented 4 months ago

this is due to this regex which enforces a last domain length of max 6 characters:

https://github.com/brave/ads-ui/blob/fd6f992786934fbb1fa0b84a7cd9ecb6d2b635f5/src/validation/RegistrationSchema.tsx#L8