Summary | tooltips.js on from: generates HTML tags |
Queue | IMP |
Queue Version | 5.0.17 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | viktor (at) szepe (dot) net |
Created | 02/16/2012 (4865 days ago) |
Due | |
Updated | 02/17/2012 (4864 days ago) |
Assigned | |
Resolved | 02/16/2012 (4865 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit 38592a5a1b5632b790d323b96f61bf07155f64e0
Author: Michael M Slusarz <slusarz@horde.org>
Date: Wed Feb 15 23:04:08 2012 -0700
Bug #10996: encode javascript tooltipimp/mailbox.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/38592a5a1b5632b790d323b96f61bf07155f64e0
State ⇒ Resolved
Patch ⇒ No
commit 38592a5a1b5632b790d323b96f61bf07155f64e0
Author: Michael M Slusarz <slusarz@horde.org>
Date: Wed Feb 15 23:04:08 2012 -0700
Bug #10996: encode javascript tooltipimp/mailbox.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/38592a5a1b5632b790d323b96f61bf07155f64e0
I do not know Horde from inside.
needs a htmlspecialchars around $msg['fullfrom']
(which is pretty much everybody, since that option is disabled and
locked by default).
needs a htmlspecialchars around $msg['fullfrom']
$msg['from'] = Horde::link(IMP::composeLink(array(), array('actionID'
=> 'mailto', 'thismailbox' => $ob['mailbox'], 'uid' => $ob['uid'],
'mailto' => $getfrom['to'])), sprintf(_("New Message to %s"),
htmlspecialchars($msg['fullfrom']) )) . $msg['from'] . '</a>';
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ tooltips.js on from: generates HTML tags
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ Yes
State ⇒ Unconfirmed
div, it is rendered as an HTML tag: <name@email.tld>
result: not displaying the address in "New message to" tooltip
1 minute patch:
e.store('nicetitle', t.replace("<", "<").replace(">", ">"));
instead of
e.store('nicetitle', t);
it needs a complete HTML encoder in js OR a double encoder in php