6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/19/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8286] Moving folders containing umlauts may cause misencoded folder names
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. ..__ \ /.__ |\/||_/ | \ >< [__) | || \|__// \| \
Comment
> The culprit seems to be dimp/imp.php:253 which calls > String::convertCharset() from lib/Horde/String.php everytime a Folder > is renamed: > > > > $new = String::convertCharset($new, NLS::getCharset(), 'UTF7-IMAP'); > > > > RFC 2060 at 5.1.3 says: > > 'The character "&" (0x26) is represented by the two-octet sequence "&-".' > > > > So the problem appears to be that an already encoded folder gets > encoded again as the escape sequence contains a character ("&") which > itself is encoded again the next time you run the encode function on > it, which explains why it turns the starting character of an encoded > folder sequence (like "test&APY-" into "test&-APY-") and after that > happened, the folder is broken.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers