mirror of
https://github.com/go-gost/x.git
synced 2026-10-20 08:18:33 +00:00
Replace the sole govalidator.IsDNSName call in normalizeRequest with a local isDNSName helper that mirrors the library's exact behavior (empty/size guard, net.ParseIP exclusion, and the same label regex), removing the asaskevich/govalidator dependency from x.