You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Scott Bernstein <SB...@mail.batesww.com> on 1996/04/17 01:04:09 UTC

Imagemap bug found and enhancement offered

Hi,

I've found a bug in the imagemap code, and have
done a little hack to the code, which I offer up for your
inclusion in the project.

The bug related to when you have an imagemap and
no default page.  You get unexpected results if you
have no "default" page and someone clicks on an
unmapped area, unexpected results happen (from an
uninitialized variable).

The hack was to implement a script which I had called
"nph-noop" which sent back a "do-nothing" header to
the client if they click on an unmapped area with no
default.  I've added this functionality to my web server
and recompiled (on the Sun and Dec OSF/1) and it
seems to work fine.

Scott


----- End of forwarded message from Scott Bernstein -----

-- 
Rob Hartill (robh@imdb.com)
The Internet Movie Database (IMDb)  http://www.imdb.com/
           ...more movie info than you can poke a stick at.