|
From: Godefroid C. <go...@bu...> - 2014-09-25 12:38:17
|
Le 25/09/14 06:41, Dylan Jay a écrit : > On 25 Sep 2014, at 11:17 am, Johannes Raggam<rag...@ad...> wrote: > >> >I also run into this problem today and factored out gotcha's code >> >regardinghttps://dev.plone.org/ticket/13793 from >> >https://github.com/plone/Products.CMFPlone/tree/publication-through-explicit-acquisition >> >into a seperate package: >> > >> >https://github.com/collective/collective.explicitacquisition >> > >> >That's exactly his implementation as a separate package. Easy and >> >unobtrusive to include, and got no problems with it so far. >> > >> >Mauro, which problems with image scaling did you have? I didn't encouter >> >problems until now... > I notice it doesn't also fix the case of dirs being acquired. > For example > > news/item1 > sub/news/item1 > > If sub/news was deleted from sub it's urls would still work and not raise a 404. > Anyone see a reason not to extend this patch to disallow acquisition of any part of the path, not just the context? Nope, would you mind adding a test ? Thanks -- Godefroid Chapelle (aka __gotcha) http://bubblenet.be |