We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 624f064 commit 96b712fCopy full SHA for 96b712f
lib/imap.php
@@ -61,7 +61,9 @@ public function checkPassword($uid, $password) {
61
62
// Replace escaped splitter in uid
63
// but only if there is no splitter symbol and if there is a escaped splitter inside the uid
64
- if (!(strpos($uid, $this->domainSplitter) !== false) && (strpos($uid, $domainSplitterEncoded) !== false)) {
+ if (($this->domainSplitter != $domainSplitterEncoded)
65
+ && !(strpos($uid, $this->domainSplitter) !== false)
66
+ && (strpos($uid, $domainSplitterEncoded) !== false)) {
67
$uid = str_replace($domainSplitterEncoded,$this->domainSplitter,$uid);
68
}
69
0 commit comments