You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1997/01/28 08:02:04 UTC
Re: parsing bug in mod_imap.c
The intent of 'base' was to be interpreted as option 2.
I think though that you are on to something here. The
literal interpretation is probably better.
> If you have a map file like:
> base foobar
> rect ../foo/bar.html 0,0 499,77
>
> mod_imap will go into an infinite loop. Fixing it isn't a problem and
> I know exactly where to do what, but should the above lead to:
>
> 1. foobar../foo/bar.html
>
> or:
> 2. foobar/../foo/bar.html
>
> ...which may end up being translated directly to foo/bar.html, but
> that doesn't matter.
>
> I don't use imagemaps much. Does anyone actually use the first in
> something like:
>
> base file
> rect 1.html 0,0 10,10
> rect 2.html 10,0 20,10
>
> to get file1.html or file2.html?
>
> Behavior 2 is more intuitive to most people I think, but they would
> figure it pretty quickly if behavior 1 was used as long as their
> server doesn't go into an infinite loop like it does now...