[w3m-dev-en 00113] Patch + problem

From: Frederic Gobry (frederic.gobry@epfl.ch)
Date: Fri Apr 07 2000 - 10:16:49 CDT


Hello,

w3m 0.1.8 crashes when using a #link pointing on the same page, when this
page is local. I had to add a test for NULL host names in main.c, line 1759
and followings, like:

  if (u.scheme == Currentbuf->currentURL.scheme &&
      u.port == Currentbuf->currentURL.port &&
      ((u.host == NULL && Currentbuf->currentURL.host == NULL) ||
       strcasecmp(u.host,Currentbuf->currentURL.host) == 0) &&
      strcmp(u.file,Currentbuf->currentURL.file) == 0) {

I also have a problem with the following URL :

        http://www.freshmeat.net/lounge
        
When I access directly to it from the command line (w3m http://...), it's
ok, but when I use a link located in a local file, it generates a strange
ouput, and the login session fails...

Frédéric

-- 
  Frédéric GOBRY
       	       	       	      EPFL
Research Assistant     CH 1015 - Lausanne
   GRIP - LITH       Tel: +41 21 693 66 92



This archive was generated by hypermail 2b29 : Wed Jul 19 2000 - 10:30:43 CDT