Skip to content

Commit 0df2795

Browse files
Merge branch '5.4' into 6.0
* 5.4: [Security] Do not overwrite already stored tokens for REMOTE_USER authentication [Validator] Fix validation for single level domains [Notifier] add Vonage bridge to replace the Nexmo one Fix redundant type casts Increased the reserved memory from 10k to 32k Complete event name & dispatcher in EventDispatcherDebugCommand [DoctrineBridge] Add DbalLoggerTest to group legacy Leverage DBAL's getNativeConnection() method [FrameworkBundle] Fix property-info phpstan extractor discovery Fix idempotency of LocoProvider write method
2 parents f753e90 + 5384ecd commit 0df2795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adapter/ExtLdap/Adapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function escape(string $subject, string $ignore = '', int $flags = 0): st
6767
$value = ldap_escape($subject, $ignore, $flags);
6868

6969
// Per RFC 4514, leading/trailing spaces should be encoded in DNs, as well as carriage returns.
70-
if ((int) $flags & \LDAP_ESCAPE_DN) {
70+
if ($flags & \LDAP_ESCAPE_DN) {
7171
if (!empty($value) && ' ' === $value[0]) {
7272
$value = '\\20'.substr($value, 1);
7373
}

0 commit comments

Comments
 (0)