]> BookStack Code Mirror - bookstack/commit
Updated ldap server option parsing to work with protocol and port
authorDan Brown <redacted>
Tue, 16 Apr 2019 21:47:53 +0000 (22:47 +0100)
committerDan Brown <redacted>
Tue, 16 Apr 2019 21:47:53 +0000 (22:47 +0100)
commitc24764018a9684fcf4418b359ddd793bb380063b
tree928a48b7a17ac8adaa902e8886c24b2d2b2d6bf0
parentd0db0f8e26c6c9df11bd3c6cdf898622371e9278
Updated ldap server option parsing to work with protocol and port

- Aligns with PHP behaviour where ports is ignore for full LDAP URI.
- Added tests to check format being passed to LDAP is as expected.
- May be related to #1220
- Related to #1386 and #1278
app/Auth/Access/LdapService.php
tests/Auth/LdapTest.php