forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <>
Subject Re: broken build when href=directory (Was: IHTML sample bug)
Date Thu, 04 Sep 2003 13:16:44 GMT
On Thu, Sep 04, 2003 at 12:51:22PM +0100, Upayavira wrote:
> Jeff Turner wrote:
> >On Thu, Sep 04, 2003 at 01:22:54PM +0200, Juan Jose Pablos wrote:
> >>David Crossley wrote:
> >>>Yes i noticed this recent change too. One of our projects had
> >>>site.xml entries like Juan shows above, ending in a directory slash
> >>>with no explicit reference to index.html
> >>>
> >>So is this the expect behaviour?, when there is a ending slash a 
> >>welcome.file "index.html" would be used?
> >
> >IMHO it's not up to Forrest.  We just emit the link as-is.
> >
> Yes. If a user puts a URL into a page ending in a slash, that stays as 
> is. But with just a slash, how do you deal with crawling? You can get 
> the content from blah/, but what filename do you use to save that 
> content? The behaviour I'm referring to changes the filename to 
> blah/index.html when saving it. But it doesn't do any rewriting of the 
> filenames or anything like that.

Oh I see.  I hadn't thought of link rewriting and link following as
separate operations.

> >I've added an <exclude pattern="**/"/> to the default cli.xconf to fix
> >the problem in Forrest.
> > 
> >
> That's unfortunate really as it could confuse some people as to why huge 
> sections of their site are excluded.

True, although its always been like this in Forrest and AFAIR no-one has
complained.  Thanks for the info!


> (But until bug is fixed, unfortunately necessary).
> Regards, Upayavira

View raw message