|
Feedback on: Creating 'Encoded' Name & Value Pairs
irt.org | About | Feedback | 4545 [ previous next ] Feedback on: Creating 'Encoded' Name & Value Pairs
Sent by vd on Tuesday May 08, 2007 at 13:01:40
Worth: Worth reading
Length: Just right
Technical: Not technical enough
Comments: Unless I miss it, could you also cover the encoding of data before written out to the page. This is to prevent cross-site scripting. This includes 2 types: 1) Data written for rendering 2) Data written inside form value.
The item (2) needs to have the exact data if submit the form again. Also, javascript popup such as validation also must show correct user's perceived value, not encoded value.
In .net, there's HttpUtility.HtmlEncode function. I don't know one for Java.
Other feedback on 'Creating 'Encoded' Name & Value Pairs' - show all
|
|
Copyright © 1996-2008 irt.org, All Rights Reserved.