Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--program/lib/Roundcube/rcube_imap_generic.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 65d5b84b4..2a759a6e1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,6 +27,7 @@
- Fix bug where multiline data:image URI's in emails were stripped from the message on display (#8613)
- Fix fatal error on identity page if Enigma plugin is misconfigured (#8719)
- Fix so N property always exists in a vCard export (#8771)
+- Fix authenticating to Courier IMAP with passwords containing a '~' character (#8772)
## Release 1.6.0
diff --git a/program/lib/Roundcube/rcube_imap_generic.php b/program/lib/Roundcube/rcube_imap_generic.php
index 92ccbef42..723a5c9ae 100644
--- a/program/lib/Roundcube/rcube_imap_generic.php
+++ b/program/lib/Roundcube/rcube_imap_generic.php
@@ -826,7 +826,7 @@ class rcube_imap_generic
return $this->setError(self::ERROR_BAD, "Login disabled by IMAP server");
}
- list($code, $response) = $this->execute('LOGIN', [$this->escape($user), $this->escape($password)],
+ list($code, $response) = $this->execute('LOGIN', [$this->escape($user, true), $this->escape($password, true)],
self::COMMAND_CAPABILITY | self::COMMAND_ANONYMIZED);
// re-set capabilities list if untagged CAPABILITY response provided