View Issue Details

IDProjectCategoryView StatusLast Update
0006386OXID eShop (all versions)1.05. Userspublic2024-03-06 13:23
Reportermichael_keiluweit Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version4.10.0_5.3.0_beta1 
Summary0006386: regex for "new" TLDs are broken again
DescriptionNew top level domains like ".productions" aren't taken by the shop anymore. This behaviour was changed with the 5.2.0, but it seems that it is broken again.
Steps To ReproduceTry to register a user with the e-mail: [email protected]
Additional InformationList of TLDs: http://data.iana.org/TLD/tlds-alpha-by-domain.txt
TagsEmail, Setup
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Relationships

duplicate of 0006352 confirmedHR Validation Registration E-Mail is inconsistent 
related to 0005713 resolvedsaulius.stasiukaitis New TLDs are not accepted by oxinputvalidator 
related to 0006339 resolvedSvenBrunk Trying to register with a TLD ".digital" fails with EM "Please enter a valid e-mail address" 

Activities

FibreFoX

2016-05-04 15:00

reporter   ~0011567

;) http://emailregex.com/

I would suggest to do a proper implementation of the RFCs (e.g. https://tools.ietf.org/html/rfc5322) by checking against a blacklist of chars/signs .... or just drop validation on client-side (javascript) and server-side (php). Handling mail-addresses should be handled by the mailserver.

preethi

2016-10-14 10:03

reporter   ~0011836

Last edited: 2016-10-14 10:05

As mentioned in the bug-0006339 note-c11479, the TLDs fail only when registering the admin account during the setup process. The TLDs work fine during Login/Registration directly in the shop frontend/admin

stroebjo

2017-06-07 16:33

reporter   ~0012111

In Flow Theme v1.0.0 jqBootstrapValidation [0] is used which doesn't support TLDs longer than 4 chars (try to register on the demo shop with Flow activated [1]). Also it doesn't seem to be maintained anymore?

I would suggest to switch to Parsley [2] maybe?


[0]: https://github.com/ReactiveRaven/jqBootstrapValidation
[1]: https://demoshop.oxid-esales.com/professional-edition/en/open-account/
[2]: http://parsleyjs.org/