Why do we have this complex rule for validating urls
Wouldn't it be much easier to use the native php validation filters
http://php.net/manual/en/filter.filters.validate.php
| Labels |
Added:
?
|
||
| Status | New | ⇒ | Discussion |
| Category | ⇒ | com_mailto |
FILTER_VALIDATE_EMAIL : dotless domain names are not supported (e.g. dings@localhost).
FILTER_VALIDATE_URL : only find ASCII URLs to be valid.
I'm not absolutely sure if it was a Joomla discussion but as far as I remember that was the reason why FILTER_VALIDATE_EMAIL was refused in the past.
yes i should have updated to say i found out the dotless domain issue - thanks
luckily we should be able to use the html5 input type email
| Labels |
Added:
?
|
||
| Labels |
Removed:
?
|
||
| Status | Discussion | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-10-30 19:43:37 |
| Closed_By | ⇒ | brianteeman |
and in most places we dont even use that rule when we really should
#13876