tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] Closed: (TAP5-1260) Document "Assets", Section "Securing Assets" is outdated
Date Fri, 03 Sep 2010 22:44:34 GMT

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

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

         Assignee: Howard M. Lewis Ship
    Fix Version/s: 5.2.1
       Resolution: Fixed

Updated on the Conflucence wiki.

> Document "Assets", Section "Securing Assets" is outdated
> --------------------------------------------------------
>
>                 Key: TAP5-1260
>                 URL: https://issues.apache.org/jira/browse/TAP5-1260
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 5.2.0
>            Reporter: Andy Pahne
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.2.1
>
>
> The Tapestry 5.2 documentation about assets is inaccurate, see
>     http://tapestry.apache.org/tapestry5.2-dev/guide/assets.html
> In section "Securing Assets" a code fragment is shown:
>         public void contributeRegexAuthorizer(final Configuration<String>  configuration)
>         {
>                 String pattern = "([^/.]+/)*[^/.]+\\.((css)|(js)|(jpg)|(jpeg)|(png)|(gif))$";
>                 configuration.add("^org/resources/" + pattern);
>         } 
> However, if one adds this method to a tapestry AppModule class, the application won't
start. The reason is that the current Tapestry source does not contain a class RegexAuthorizer
anymore. It use to, but not anymore.

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


Mime
View raw message