This addresses an issue where ldap:// and ldaps:// gets stripped from the hostname by weak REGEX. This updates the REGEX to make it account for ldap:// and ldaps:// so that it remains as part of the hostname. This will allow people to typehint LDAPS connections.
This addresses an issue where
ldap://
andldaps://
gets stripped from the hostname by weak REGEX. This updates the REGEX to make it account forldap://
andldaps://
so that it remains as part of the hostname. This will allow people to typehint LDAPS connections.