[mu] quark url parsing

From: Clive Wright (clive_wright@telinco.co.uk)
Date: Sat Apr 28 2001 - 21:05:01 CEST


I recently added some web pages to /home/httpd and found
that quark could not load them. Lynx and chimera loaded them
ok so the problem was not with the web server. On
investigation it appears that if the host name is contained
in the path or document part of the url quark will fail to
find it:

eg.
        http://me/foo/bar/beta.html will load correctly whereas;
        http://me/foo/bar/meta.html will fail unless;
        http://me/ta.html exists, in which case the wrong page is
loaded.

On examining the quark script I believe that line #231,

        page=`echo $URL| sed s/^.*${host_spec}//`

is the cause of the problem but my limited knowledge of
regular expressions has prevented me from effecting a cure.

Clive

---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk



This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:18 CET