Skip to content

RUBY-3955 Add configurable SRV host validation - #3138

Draft
comandeo-mongo wants to merge 1 commit into
mongodb:masterfrom
comandeo-mongo:3955-3899-configurable-dns
Draft

comandeo-mongo wants to merge 1 commit into
mongodb:masterfrom
comandeo-mongo:3955-3899-configurable-dns

Conversation

@comandeo-mongo

Copy link
Copy Markdown
Contributor

Allow applications to configure SRV host validation with a suffix or callback.

RUBY-3955 · RUBY-3899

Comment thread lib/mongo/srv/result.rb
raise ArgumentError, 'srvAllowedHostsSuffix must be a string'
end

suffix = suffix.gsub(/\A\.+|\.+\z/, '')

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants