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.

The HtDig::Database module seems to be able read the common_url_parts
from your htdig.conf, so it should be sufficient to explicitly define
this attribute there.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to