You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/09/12 03:57:52 UTC

[jira] [Commented] (TAP5-2179) The Select component can be hacked to select a value not in the SelectModel

    [ https://issues.apache.org/jira/browse/TAP5-2179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13765080#comment-13765080 ] 

Hudson commented on TAP5-2179:
------------------------------

SUCCESS: Integrated in tapestry-trunk-freestyle #1159 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/1159/])
TAP5-2179: The Select component can be hacked to select a value not in the SelectModel (hlship: rev 41d7d4e40cb5dbe884dd9cefc4584bf57246c33b)
* tapestry-core/src/test/java/org/apache/tapestry5/corelib/components/SelectTest.java
* 54_RELEASE_NOTES.md
* tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Select.java
* tapestry-core/src/main/java/org/apache/tapestry5/corelib/base/AbstractField.java

                
> The Select component can be hacked to select a value not in the SelectModel
> ---------------------------------------------------------------------------
>
>                 Key: TAP5-2179
>                 URL: https://issues.apache.org/jira/browse/TAP5-2179
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3, 5.4
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.4
>
>
> Through 5.3, the Select component uses the SelectModel only for rendering. This means that a clever hacker could force through a selection of a value not intended by the programmer.  The Select component should (optionally, but by default) validate that the selected value appears inside the SelectModel.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira