On Thursday 10 October 2002 02:43, David Allen wrote:
> Is there something terribly obvious I'm missing or is this a bug?
>
> Running build 513, updated today, I tried something to see what would
> happen.
>
> Fetch this key:
> SSK@rBjVda8pC-Kq04jUurIAb8IzAGcPAgM/FF//cant/possibly/exist/dammit
>
> Why does this pull up the front page of Freenet Forever?
>
> Rinse, lather, and repeat for arbitrary keys under
> SSK@rBjVda8pC-Kq04jUurIAb8IzAGcPAgM/FF// that don't exist, and you get
> the same result.
>
> This happens through the servlet, but it also happens when using raw
> FCP connections, so it's not just that the servlet is trying to do the
> right thing and backing up to the default file when it can't find the
> key that's requested.
>
> The way I read this, fred should check for an entry named
> "cant/possibly/exist/dammit" in the mapfile.  Is it standard behavior
> for it to redirect to the default file when it can't find an entry for
> a key, and if so, *why*?

if you fetch .../FF// then you get .../FF//index.html (the front page)
this seems to apply for non-existing file names behind the double-slash, too
(at least for sites with manifest (double slash)).

normally, the index.html file is the first entry in the manifest,
so it gets loaded as default if you do not specify another document
listed in the manifest.

btw. to look at the manifest try:
fcpget --metadata FF-manifest.txt SSK@rBjVda8pC-Kq04jUurIAb8IzAGcPAgM/FF//  
FF-index.html


mfg The Bishop

_______________________________________________
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to