Date: Thu, 10 May 2001 15:57:47 -0700 (PDT)
From: Joe R. Jah <jjah@cloud.ccsf.cc.ca.us>
To: Gilles Detillieux <grdetil@scrc.umanitoba.ca>
Cc: htdig-general@lists.sourceforge.net
Subject: Re: [htdig] Whatsnew <!> ssl.4

On Thu, 10 May 2001, Gilles Detillieux wrote:

> Date: Thu, 10 May 2001 12:53:11 -0500 (CDT)
> From: Gilles Detillieux <grdetil@scrc.umanitoba.ca>
> To: Joe R. Jah <jjah@cloud.ccsf.cc.ca.us>
> Cc: htdig-general@lists.sourceforge.net
> Subject: Re: [htdig] Whatsnew <!> ssl.4
> 
> According to Joe R. Jah:
> > Hi Folks,
> > 
> > Yesterday I discovered that my whatsnew.pl:
> > 
> > 	ftp://ftp.ccsf.org/htdig-patches/3.1.5/new.pl 
> > 
> > was spewing strange results.  All the links were started as "ftp://ftp."
> > instead of "http://www";-/ Furthermore, all files.html were shown as
> > files.htm, and all original files.htm were converted to files.jpg;-/!?
> > 
> > I backed out of the patch:
> > 
> > 	ftp://ftp.ccsf.org/htdig-patches/3.1.5/ssl.4
> > 
> > I randig, and ran whatsnew.pl; everything went back to normal;)
> > 
> > Any ideas?
> 
> The ssl.4 patch adds "https:// https://www. " to the front of the
> common_url_parts attribute definition in htcommon/defaults.cc, which
> shifts all the encodings for the url parts to new positions.  You'd need
> to make the corresponding change to the HtDig::Database module in
> Perl, so it works with your new encodings.  I.e. you can change the
> @default_url_parts definition in Database.pm.

Thank you very much Gilles; I patched Database.pm and once again
whatsnew.pl is happy as a clam;)

--- Database.pm.orig    Thu May 10 14:36:11 2001
+++ Database.pm Thu May 10 14:38:16 2001
@@ -52,7 +52,7 @@

 my ( @url_parts, %url_parts, $url_parts );
 my @default_url_parts = qw(
-    http:// http://www. ftp:// ftp://ftp. /pub/
+    https:// https://www. http:// http://www. ftp:// ftp://ftp. /pub/
     .html .htm .gif .jpg .jpeg /index.html /index.htm
     .com/ .com mailto:
 );


Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        jjah@cloud.ccsf.cc.ca.us


_______________________________________________
htdig-general mailing list <htdig-general@lists.sourceforge.net>
To unsubscribe, send a message to <htdig-general-request@lists.sourceforge.net> with a subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html
