tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Douglas Hauge (JIRA)" <...@tapestry.apache.org>
Subject [jira] Updated: (TAPESTRY-1595) TapestryFilter throws IllegalArgumentException if request path for non-Tapestry page contains '.' or ':'
Date Fri, 22 Jun 2007 03:50:26 GMT

     [ 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


Mime
View raw message