You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2010/01/18 15:15:54 UTC

[jira] Created: (TAP5-989) DateField component arrow image assets need RegexAuthorizer contribution

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.7, 5.1.0.6
            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.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TAP5-989) DateField component arrow image assets need RegexAuthorizer contribution

Posted by "Leonard Lu (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] Updated: (TAP5-989) DateField component arrow image assets need RegexAuthorizer contribution

Posted by "Jochen Kemnade (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Kemnade updated TAP5-989:
--------------------------------

    Description: 
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).

  was:
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).


> 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TAP5-989) DateField component arrow image assets need RegexAuthorizer contribution

Posted by "Leonard Lu (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] Closed: (TAP5-989) DateField component arrow image assets need RegexAuthorizer contribution

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-989.
-------------------------------------

    Resolution: Invalid

This issue has been invalidated by the recent changes to asset access (TAP5-769).

> 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TAP5-989) DateField component arrow image assets need RegexAuthorizer contribution

Posted by "Jochen Kemnade (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Kemnade updated TAP5-989:
--------------------------------

    Description: 
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).

  was:
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).


> 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TAP5-989) DateField component arrow image assets need RegexAuthorizer contribution

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-989.
-------------------------------------

    Resolution: Invalid

This issue has been invalidated by the recent changes to asset access (TAP5-769).

> 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.
-
You can reply to this email to add a comment to the issue online.