Summary | JavaScript error caused by Horde::popupJs() |
Queue | Horde Framework Packages |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | azurit (at) pobox (dot) sk |
Created | 02/12/2013 (4525 days ago) |
Due | |
Updated | 02/12/2013 (4525 days ago) |
Assigned | 02/12/2013 (4525 days ago) |
Resolved | 02/12/2013 (4525 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit d77cfccfe0e6e3065038fdc9bafee3317bf6912c
Author: Michael M Slusarz <slusarz@horde.org>
Date: Tue Feb 12 14:34:43 2013 -0700
[mms] Fix encoding of JSON parameters to Horde::popupJs() (
Bug #12037).Need to double encode the data so that the JSON is properly parsed on
the browser.
framework/Core/lib/Horde.php | 4 +++-
framework/Core/package.xml | 2 ++
2 files changed, 5 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/d77cfccfe0e6e3065038fdc9bafee3317bf6912c
Assigned to Michael Slusarz
Summary ⇒ JavaScript error caused by Horde::popupJs()
State ⇒ Resolved
State ⇒ Assigned
Queue ⇒ Horde Framework Packages
Version ⇒ Git master
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ JavaScript error
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
header (to open a new compose window), nothing happens and this JS
error is displayed if address has double-quotes (") in it:
Error: SyntaxError: JSON.parse: expected ',' or '}' after property
value in object
Source File: /js/prototype.js?v=7518defebaf976cab73da94a232a89b6
Line: 743
Example of problematic address:
"something" <name@domain.tld>