[
https://issues.apache.org/jira/browse/TAP5-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857502#action_12857502
]
Leonard Lu commented on TAP5-989:
---------------------------------
Suggest:
String pathPattern =
"((?!\\.{1,2}/)[^/]+/)*[^/]+\\.((css)|(js)|(jpg)|(jpeg)|(png)|(gif))$";
> DateField component arrow image assets need RegexAuthorizer contribution
> ------------------------------------------------------------------------
>
> Key: TAP5-989
> URL: https://issues.apache.org/jira/browse/TAP5-989
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.1.0.6, 5.1.0.7
> Reporter: Jochen Kemnade
>
> The datefield component uses the image assets
> `org/apache/tapestry5/datepicker_106/images/arrow.left.png` and
> `../arrow.right.png`.
> The default contribution made to the RegexAuthorizer by the TapestryModule
> class adds the regex `datepickerPath + "/" +
> "([^/.]+/)*[^/.]+\\.((css)|(js)|(jpg)|(jpeg)|(png)|(gif))$`. So the problem
> is the additional periods in the file names (`arrow-left.png` would work
> whereas `arrow.left.png` doesn't).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira