You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Douglas Hauge (JIRA)" <de...@tapestry.apache.org> on 2007/06/22 05:50:26 UTC

[jira] Updated: (TAPESTRY-1595) TapestryFilter throws IllegalArgumentException if request path for non-Tapestry page contains '.' or ':'

     [ https://issues.apache.org/jira/browse/TAPESTRY-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Douglas Hauge updated TAPESTRY-1595:
------------------------------------

    Attachment: Tapestry_Exception_Page.html

The response page containing the exception description and stack trace.

> TapestryFilter throws IllegalArgumentException if request path for non-Tapestry page contains '.' or ':'
> --------------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1595
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1595
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.5
>            Reporter: Douglas Hauge
>         Attachments: Tapestry_Exception_Page.html
>
>
> For pages not handled by Tapestry, it should pass control along to next filter in chain, which it does for paths that do not contain '.' or ':'. For example, if '/foo/bar' is not a page recognized by Tapestry, a URI with the path 
> /foo/bar/image.gif
> will cause an 'IllegalArgumentException' with the message 'Unable to resolve page 'foo/bar/image' to a known page name. ...'
> while
> /foo/bar/image_gif
> will be properly forwarded to the filters after TapestryFilter.
> The problem seems to be that 'ComponentActionDispatcher' will attempt to process any path that contains '.' or ':', unlike 'PageRenderDispatcher' which explicitly checks that it recognizes a prefix of the path.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org