[Zope3-checkins]
Re: [Checkins] SVN: Zope3/trunk/ - Fixed issue 680, html files in
a resource directory was interpreted
Benji York
benji at zope.com
Thu Aug 17 08:32:02 EDT 2006
Lennart Regebro wrote:
> Log message for revision 69590:
> - Fixed issue 680, html files in a resource directory was interpreted
> as page templates, which used up processing time and caused
> HTML-resources that were not valid XHTML to fail.
>
> If you want your resources in a resource directory to be interpreted
> as pagetemplates they now need to have a .pt or .zpt extension.
While I don't particularly like the original behavior, I suspect this
change will break some code in the wild that was previously working.
But, more to the point: It'd be better if the user were able to choose
how resources are interpreted, as with the <resource> directive, instead
of hard-coded configuration.
--
Benji York
Senior Software Engineer
Zope Corporation
More information about the Zope3-Checkins
mailing list