6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/24/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8948] INBOX prefix of folder stripped in prefs
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.__ . .__.. . [__ | \| | ||\/| [___|__/|___|__|| |
Comment
> Agree. > > So, my problems are from the other side: > > While debugging the source code, I found that my problem come from > IMP::folderPref('some folder', true) function. > > According to a cyrus IMAP backend, this function should add a > 'INBOX.' prefix, if the folder is not INBOX, right? It's not the > case... > > Debugging of "IMP::folderPref('SPAM', true)": > folder = SPAM ; append = true; > def_ns = Array ( [name] => INBOX. [delimiter] => . [type] => personal > [hidden] => ) > empty_ns = Array ( [name] => [delimiter] => . [type] => shared [hidden] => ) > GLOBALS['imp_imap']->getNamespace(folder) = Array ( [name] => > [delimiter] => . [type] => shared [hidden] => ) > >> if ($append) { > enter this if block >> if (!is_null($empty_ns) && strpos($folder, $empty_ns['delimiter']) === 0) { > skip this if block >> } elseif (($ns = $GLOBALS['imp_imap']->getNamespace($folder)) == null) { > skip this if block as ns is not null > > So, folder value is not changed...
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