Edit report at https://pear.php.net/bugs/bug.php?id=18599&edit=1

ID: 18599
Updated by: daniel.oconnor@gmail.com
Reported By: alec at alec dot pl
Summary: Wrong result from getAnnotation() for folder with
non-ascii characters
-Status: Open
+Status: Closed
Type: Bug
Package: Net_IMAP
Package Version: SVN
PHP Version: Irrelevant
-Assigned To:
+Assigned To: doconnor
Roadmap Versions:
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: doconnor
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

Previous Comments:

[2011-06-15 11:02:33] alec

If wolder contains non-ascii characters then the result is wrong. The
reason is in _retrParsedResponse() which doesn't decode mailbox name.
The fix is simple:

--- IMAPProtocol.php 2011-06-15 10:56:59.802839004 +0200
+++ IMAPProtocol.new 2011-06-15 10:52:34.000000000 +0200
@@ -3225,7 +3225,7 @@
$this->_parseSpace($str, __LINE__, __FILE__);
$attrs = $this->_arrayfyContent($str);

- $result_array = array('MAILBOX' => $mailbox,
+ $result_array = array('MAILBOX' =>
'ENTRY' => $entry,
'ATTRIBUTES' => $attrs);
return $result_array;


Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
postedJan 2, '12 at 1:41a
activeJan 2, '12 at 1:41a

1 user in discussion

Daniel Oconnor: 1 post



site design / logo © 2022 Grokbase