View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006386 | OXID eShop (all versions) | 1.05. Users | public | 2016-05-04 13:39 | 2024-03-06 13:23 |
Reporter | michael_keiluweit | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 4.10.0_5.3.0_beta1 | ||||
Summary | 0006386: regex for "new" TLDs are broken again | ||||
Description | New 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 Reproduce | Try to register a user with the e-mail: [email protected] | ||||
Additional Information | List of TLDs: http://data.iana.org/TLD/tlds-alpha-by-domain.txt | ||||
Tags | Email, Setup | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
duplicate of | 0006352 | confirmed | HR | Validation Registration E-Mail is inconsistent |
related to | 0005713 | resolved | saulius.stasiukaitis | New TLDs are not accepted by oxinputvalidator |
related to | 0006339 | resolved | SvenBrunk | Trying to register with a TLD ".digital" fails with EM "Please enter a valid e-mail address" |
|
;) 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. |
|
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 |
|
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/ |