Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
extended length of IP/hostnames from 32 to 48 chars #676
Browse files Browse the repository at this point in the history
  • Loading branch information
proddy committed Jan 4, 2021
1 parent 95fa4b4 commit e7fc796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/src/validators/isHostname.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const hostnameLengthRegex = /^.{0,32}$/
const hostnameLengthRegex = /^.{0,48}$/
const hostnamePatternRegex = /^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/

export default function isHostname(hostname: string) {
Expand Down

0 comments on commit e7fc796

Please sign in to comment.