1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-05-13 10:10:56 +02:00
Aleksandr Gumroian f868881b3d
Improve domain name RegEx pattern
Previously validateDomain() function was used for hostname validations
but was weak in a chain of validations, for example, domain -> ipv4
as it accepts invalid IPv4 addresses.

So we had to split it, improve the domain name RegEx pattern and add a
hostname validation pattern.
2022-02-21 13:56:32 +01:00
..
2021-12-13 15:51:56 +01:00
2022-02-21 11:28:24 +01:00
2022-02-21 11:28:25 +01:00
2020-08-18 16:17:00 +02:00
2020-08-18 16:17:00 +02:00
2022-02-21 13:56:32 +01:00
2021-12-13 15:51:56 +01:00