|
From: Lachlan A. <lh...@ee...> - 2002-09-11 00:57:23
|
On Wed, 11 Sep 2002 05:06, you wrote:
> Where did you get your code in June? I fixed this
> problem in the CVS tree back on January 11/02. You must
> have had an older snapshot.
Oops! Yes, I was getting my directories confused. I
apologise for casting any aspersions...
> > The other problem is the format of "kurl"s, which use a
> > single '/' after the ':'.
>
> The proper fix would be in htcommon/URL.cc, where it
> handles parsing of URLs. I think it has to deal with
> exceptions like this on a case by case basis.
Thanks for that. I was thinking of having a list of known
services, specifying the number of leading slashes, with
default entries:
mailto, news : 0
http, ftp, most others : 2-or-more
When there are two-or-more slashes, the user and port will
be parsed as currently. Otherwise, it will all be treated
as "path".
When an external transport mechanism is specified as, say,
'https' it will be added with "two slashes". However, if
it is specified as, say, "man:" or "help:/" or "https://"
(with a colon), then the number of slashes can be specified
explicitly. That will avoid hard-coding the KDE stuff into
htDig://
Does that sound feasible?
Thanks again for your feedback :)
--
Lachlan Andrew Phone: +613 8344-3816 Fax: +613 8344-6678
Dept Electrical and Electronic Engg CRICOS Provider Code
University of Melbourne, Victoria, 3010 AUSTRALIA 00116K
|