6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/31/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1161] Error in utf7-imap parsing when building folder tree
*
Your Email Address
*
Spam protection
Enter the letters below:
. .___.___..__ ._. | [__ _/ [__) | |___| ./__.| _|_
Comment
> When building the IMAP folder tree, Imp fails to parse the name > correctly. The first problem is with a folder named: Caf&AOk--du-ve' > > > > That is: Café-du-ve' > > > > The problem is with the é - there seems to be a '\0' after the 'f', > which I guess is causing the problem in > imp/lib/Block/tree_folders.php: > > > > $tree->addNode($parent . $mailbox['value'], > > $parent . $mailbox['parent'], > > $mailbox['label'], $indent + $mailbox['level'], false, $node_params); > > > > I've tried to do a String::convertCharset($mailbox['label'], > 'UTF7-IMAP'). This helps a bit, because the folder tree is built > correctly, but the offending folders have no name. > > > > After the failure, the rest of the tree is missing. See screenshot: > http://www.vindvejr.dk/~jlaur/temp/imp-bug.png > > > > This means that I can't see the rest of the Horde menu items, i.e. > "Administration", "Options", "Log out" and any other Horde modules > alphabetically after "Mail". > > > > I hope this description helps, otherwise feel free to ask for more > information. The same problem occurs with a folder named "Nytår" > ("Nyt&AOU-r"), so I guess it's a general problem with non-ascii > characters. > > > > -- > > Jacob Laursen > >
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