bugs by HTParse()?

Hi,

A parsed address "http://127.0.0.1test.html" is returned if I use
HTParse("test.html", "http://127.0.0.1", PARSE_ALL).

Do you think that this is a bug in the function?


I have changed the function scan() in HTParse.c

-----
scan()
{
  ...

  if (parts->host && !parts->absolute)
      parts->absolute = "";
}
-----

Do you think it's OK?

Benhui Chen

-- 
  Dipl.-Ing. Benhui Chen          _______ _    TU-Berlin  FB 13  FLP/KIT
e-mail: benhui@cs.tu-berlin.de   (_   _  | |      Projekt KIT-FLIPPER
    Tel.: +49-30-314-73607         | | | | |	  Franklinstr.  28/29
    Fax.: +49-30-314-73622         `-' `---'        D-10587 Berlin

Received on Monday, 25 August 1997 06:34:42 UTC