[
http://jira.jboss.com/jira/browse/JBSEAM-2931?page=all ]
Norman Richards closed JBSEAM-2931.
-----------------------------------
Resolution: Rejected
We aren't going to play regexp games with fields that we are supporting direct UI
binding for. If you want a complex order clause that can be set from a UI binding,
you'll need to subclass and accept responsibility for the SQL injection protection
yourself.
CLONE -Support protection against SQL injection in Query order
parameter
------------------------------------------------------------------------
Key: JBSEAM-2931
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2931
Project: Seam
Issue Type: Patch
Components: Framework
Affects Versions: 2.0.1.GA
Reporter: Felix Ho?feld
Assigned To: Norman Richards
Fix For: 2.0.2.CR1
From
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=119810
The 'order' parameter gets directly concatenaded to the query.. that would allow
anything to get injected in the query, possibly resulting in a security threat. This patch
gives the developer extending framework Query the chance to limit the acceptable order
properties.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira