HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: MD5 calculation
Author: Xavier Roche
Date: 06/29/2001 22:34
 
> I've noticed that before calculating MD5 over the 
URL 
> address the application convert the URL to lowercase 
> letters. What other conversions, which can reflect 
in a 
> differance between the MD5 of the URL as it is in 
the 
> list file and the MD5 generated by the program can 
be 
> expected?
The md5() generated is made by url_savename() 
(htsname.c) from the adr_complete passed, that is, the 
REAL http URI. Therefore, before passed to MD5, the 
URI is NOT converted into lower case

This is only done for calculating the final 
destination file on disk, but the MD5 is always 
calculated using the real URI, for example:

md5(www.foo.com/FoO/Bar/My%20Index.html)

 
Reply Create subthread


All articles

Subject Author Date
MD5 calculation

06/29/2001 14:17
Re: MD5 calculation

06/29/2001 22:34
Re: MD5 calculation

07/04/2001 11:09
Re: MD5 calculation

07/04/2001 19:11




e

Created with FORUM 2.0.11