httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@organic.com>
Subject imap fix...
Date Wed, 04 Oct 1995 07:03:53 GMT

I was running into a bug where the Location: returned for some imagemap
accesses was not a complete URL, but a relative one - Netscape handled it
fine (aarg!  in violation of the spec) but other conforming browsers didn't
like it (funny watching XMosaic try and FTP to "." :) Turns out this was just
for "default" entries - Randy (and other imagemap gurus) - what do you think
of this fix? 


*** mod_imap.c.old      Fri Sep  8 12:20:57 1995
--- mod_imap.c          Wed Oct  4 00:37:43 1995
***************
*** 424,430 ****
  
      if (mapdflt[0]) {
  
!       table_set (r->headers_out, "Location", mapdflt);
          fclose(imap);
        return REDIRECT;
      }
--- 424,430 ----
  
      if (mapdflt[0]) {
  
!       set_redirect (r, base_uri, mapdflt);
          fclose(imap);
        return REDIRECT;
      }



	Brian


--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  brian@hyperreal.com  http://www.[hyperreal,organic].com/


Mime
View raw message