6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/27/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#5307] Upgrade Prototype to 1.5.1_rc3 and make use of CSRF protection
*
Your Email Address
*
Spam protection
Enter the letters below:
.___..__ __ .__..__ | [__)/ `[__][ __ | [__)\__.| |[_./
Comment
>> I'll have to think about that one a bit more myself. Meanwhile, we > >> use it in Gollem in a similar style as to IMP/DIMP I believe. > > > > Outputting JSON directly in our javascript includes is no different > than writing some javascript code such as "var a = { b: 1 };". That > is JSON, but you can't tell me we need to run every single object we > create through evalJSON(). > > > > I think the question boils down to "how much do we trust any input > that we are outputting via JSON." Obviously, we can exploit all we > want if we ourselves are outputting bad JSON. But if that is > happening, we are either scheming and mischievous people (unlikely) > or we need to do a better job of filtering the data on the PHP side > rather than the browser side.
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