[Zope] traverse_subpath with index_html ?

Chris Withers chrisw at nipltd.com
Fri Sep 5 15:36:57 EDT 2003


Lee Harr wrote:
> Hi;
> 
> Is there a way to use traverse_subpath in a page template
> called index_html without having index_html in the url?
> 
> so, for instance, if I have a template called aaa which just
> prints the traverse subpath, I can call it with:
> 
> http://example.com/aaa/bbb/ccc
> 
> and get:  ['bbb', 'ccc']
> 
> but if it is called index_html I would have to use:
> 
> http://example.com/index_html/bbb/ccc

That's odd, I'd say your first example looks like a bug.

Submit it at http://collector.zope.org or ask on zpt at zope.org and maybe Evan can 
shed some light...

cheers,

Chris




More information about the Zope mailing list