1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-04-19 08:06:40 +02:00

4 Commits

Author SHA1 Message Date
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
Aleksandr Gumroian
f8726e6012
Format all files with Prettier 2020-08-18 16:17:00 +02:00
Bogdan Bodnar
e1b5a25ddd
Update domain vadlidation. 2020-03-13 21:37:21 +01:00
Bogdan Bodnar
02b5583712
Move vadliadtions and forisUrls to utils. 2020-03-13 21:37:21 +01:00