Slashes Repeated Eternally while Generating Adresses during Recursive Site Download
Dear wget developer team!
An issue was detected while trying to fetch the http://book.itep.ru website with the wget utility.
When site download was launched with the command
wget -r -l 0 -X /depository -p -k 'http://book.itep.ru/1/intro1.htm'
links to download like
http://book.itep.ru/.....
http://book.itep.ru//.....
http://book.itep.ru///.....
http://book.itep.ru////.....
http://book.itep.ru/////.....
were produced by wget.
Thus, slashes after the site domain name were duplicated. After the site fetch cycle with '/' was over, a cycle with '//' adresses started. When it was over, a new cycle with '///' links was started, and so on. So, the download process turned to be eternal and it never was finished. Obviously the URLs with '/', '//', ...'/////' meant quite the same adresses, but this non-stopped process of duplicated slashes producing prevented the fetch from being finished. I don't know why these repeated slashes appeared, but two other site download utilities - "Teleport VLX" and "HTTrack Website Copier" succeeded in fetching this site.
The issue was reproduced both under "MS Windows" OS and "Debian Linux".
Viktor.