6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/22/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2565] Firefox 3 bookmarks extension
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .. ..__ . . [__) || || \\ / [__)\__||__||__/ \/
Comment
>> OK, can you think of a way I can transparently implement security? I > >> only know of putting something at the beginning of the JSON, so that > >> we can strip it off but nobody else can because they can't read it > >> directly. Unfortunately, I'm guessing this will break the JSON-RPC > >> spec. > > > > It might break the specs indeed, but take a look at how it is > implemented with IMP/prototype. In imp/lib/IMP.php, > IMP::sendHTTPResponse(), the json code is encapsulated in "/*-secure- > */". > > prototype (horde/js/src/prototype.js) automatically filters the > comments out, see Prototype.JSONFilter and String.unfilterJSON().
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