-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend Socks5 TLD regex validation to support up to 63 characters #1427
Conversation
…haracters to comply with RFC 1034 standard. JAVA-5490
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Only question: Should there be a drivers ticket for this change (for those drivers that regex validate TLDs)? Maybe a prose test? |
Thanks for your question. There’s no need for a driver's ticket as the regex validation of domain names is only implemented in Java driver. |
…haracters to comply with RFC 1034 standard. (mongodb#1427) JAVA-5490 (cherry picked from commit e4b8a83)
…haracters to comply with RFC 1034 standard. (mongodb#1427) JAVA-5490
…haracters to comply with RFC 1034 standard. (mongodb#1427) JAVA-5490
Changes:
Modified the regex pattern to support top-level domain (TLD) lengths of up to 63 characters, in accordance with RFC 1034 standards.
Purpose:
This update ensures our regex can handle the 'internal' TLD used in EC2 guest OS hostnames, thus increasing the flexibility of TLD validation.
JAVA-5490