You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 8, 2018. It is now read-only.
Currently, there is only a rudimentary check on vHost requests through HostServ (check_vhost_validity) to check if they are fundamentally valid strings. However, many networks will implement their own vHost policy, such as no capitals, no valid TLDs, or whatever else.
There could be added functionality for customising what HostServ will consider a valid or invalid vHost. It could be implemented similar to NickServ's BADMAIL function, with simple globmask matching of invalid strings. It would probably be better suited to regex matching, which would provide more control over patterns.
The text was updated successfully, but these errors were encountered:
Well, it's similar in implementation to protocol-related validation functions such as is_valid_host. Hackish, yes, but I wouldn't call it ugly! ;-)
It's a point of philosophical debate whether or not check_vhost_validity should be overwritable for such purposes, but if it is, then can you think of a simpler way?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, there is only a rudimentary check on vHost requests through HostServ (
check_vhost_validity
) to check if they are fundamentally valid strings. However, many networks will implement their own vHost policy, such as no capitals, no valid TLDs, or whatever else.There could be added functionality for customising what HostServ will consider a valid or invalid vHost. It could be implemented similar to NickServ's BADMAIL function, with simple globmask matching of invalid strings. It would probably be better suited to regex matching, which would provide more control over patterns.
The text was updated successfully, but these errors were encountered: