I'm not sure about this.
I've added the .map files but now I'm not fully convinced.
Adding files to the whitelist makes SecurePackageResourceGuard slower in
its checks with every new item.
.map files are helper files to be able to debug compressed/minimized .js
files in production environment. How often a developer does this ?
And at the moment we have .map files only for jQuery. I doubt many of the
developers use this functionality yet.
I suggest to remove the .map files for now and re-add them again when they
become more popular some day.


On Sat, Sep 7, 2013 at 12:56 PM, Cedric Gatay <[email protected]> wrote:

> Hi,
> I think .map should be added to default.
> Regards,
>
> __
> Cedric Gatay (@Cedric_Gatay <http://twitter.com/Cedric_Gatay>)
> http://code-troopers.com | http://www.bloggure.info |
> http://cedric.gatay.fr
>
>
> On Fri, Sep 6, 2013 at 9:25 PM, Andrea Del Bene <[email protected]
> >wrote:
>
> > Hi,
> >
> > as reported in the user list (http://apache-wicket.1842946.**
> >
> n4.nabble.com/Access-denied-**to-static-package-resource-**td4661223.html<
> http://apache-wicket.1842946.n4.nabble.com/Access-denied-to-static-package-resource-td4661223.html
> >),
> > the access to map files is not allowed by default and this could be a
> > problem if someone want to use them with JQuery or other libraries that
> > support them.
> > Should we add .map extension to default allowed static resources?
> >
>

Reply via email to