6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
1/8/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6834] Error opening pgp passphrase protected mails
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__ . .__..___ [ __[__)| | |[__ [_./| |___|__|[___
Comment
> ok, some findings: In the html source of the passphrase dialog (in my > browser), I found following tag containing mailbox and index in > question: > > > > <input type="hidden" name="reload" > value="/mail-new/imp/message.php?mailbox=INBOX.Drafts%26index=127" /> > > > > Parsing this by IMP::getCurrentMailboxInfo() in imp/lib/base.php gave: > > > > [mailbox] => INBOX.Drafts&index=127 > > [thismailbox] => INBOX.Drafts&index=127 > > [index] => > > > > which seems to be wrong (and results in the error message), as normal > calling of this message should result in (?): > > > > [mailbox] => INBOX.Drafts > > [thismailbox] => INBOX.Drafts > > [index] => 127 > > > > Hunting down the ampersand and changing in gpg.php with the sledgehammer > > > > // $t->set('reload', htmlspecialchars(Util::getFormData('reload'))); > > $t->set('reload', preg_replace('/%26/', '&', > htmlspecialchars(Util::getFormData('reload')),-1) ); > > > > fixed the symptom, but I don“t know where exactly the cause is. > > > > Martin
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