6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/21/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6691] horde/kolab should also accept INBOX DOT(INBOX.) as IMAP folder name
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..___.__ .__ __ \ /[__ | \[__)/ ` \/ [___|__/[__)\__.
Comment
> > > In some functions like getOwner() in lib/Horde/Share/kolab.php > > or lib/Horde/Kolab.php > > or lib/Horde/Kolab/IMAP.php > > > > the folder-name is checked against a regular Expression: > > > > if (!preg_match(";(shared\.|INBOX[/]?|user/([^/]+)/)([^@]+)(@.*)?;", > $folder_path, $matches) > > > > Some server are using "INBOX." and not "INBOX/". Would be great, if > that bug could be fixed. > > > > function getOwner() > > { > > > > // PATCHED > > > > if > ((!preg_match(";(shared\.|INBOX[/]?|user/([^/]+)/)([^@]+)(@.*)?;", > $this->get('folder'), $matches)) && > (!preg_match(";(shared\.|INBOX[.]?|user\.([^.]+)\.)([^@]+)(@.*)?;", > $this->get('folder'), $matches)) ) { > > return PEAR::raiseError(sprintf(_("Owner of folder %s > cannot be determined."), $this->get('folder'))); > > } > > > > if ((substr($matches[1], 0, 6) == 'INBOX/')|| > (substr($matches[1], 0, 6) == 'INBOX.')) { > > return Auth::getAuth(); > > } elseif ((substr($matches[1], 0, 5) == 'user/') || > (substr($matches[1], 0, 5) == 'user.')) { > > $domain = strstr(Auth::getAuth(), '@'); > > $user_domain = isset($matches[4]) ? $matches[4] : $domain; > > return $matches[2] . $user_domain; > > } elseif ($matches[1] == 'shared.') { > > return 'anonymous'; > > } > > } > > > >
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