1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-04-18 07:56:39 +02:00

6 Commits

Author SHA1 Message Date
Aleksandr Gumroian
912f8facdb
Fix linting issues 2024-06-10 16:28:25 +02:00
Aleksandr Gumroian
7ceccd5222
Add hostname RegEx pattern & validateHostname() function 2022-02-21 13:57:24 +01: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
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