Open GoogleCodeExporter opened 8 years ago
I wonder if I could do something like set the filter value by wrapping it in a
JSON
object or Array. That way the JavaScript should not execute.
Original comment by extremec...@gmail.com
on 15 Nov 2007 at 2:56
Original comment by extremec...@gmail.com
on 11 Mar 2008 at 4:06
Original comment by extremec...@gmail.com
on 11 Mar 2008 at 4:06
Came to of a pretty good side effect of this encoding stuff. Try saving
<script>alert('whoops!');</script> in the worksheet example.
Original comment by jeff.johnston.mn@gmail.com
on 23 Oct 2008 at 1:35
<script>alert('whoops!');</script>
Original comment by vr.suka...@gmail.com
on 22 Mar 2010 at 9:36
There should be a way to validate the input of the filters. Just output
encoding is not enough.
Original comment by harald.walker
on 3 Oct 2013 at 8:54
As a solution I've added a validate method in a custom FilterMatcher and
extended SimpleRowFilter to validate the filter value against this
FilterMatcher first before iterating through the items collection.
Original comment by harald.walker
on 3 Oct 2013 at 4:11
Original issue reported on code.google.com by
extremec...@gmail.com
on 14 Nov 2007 at 1:57