bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [Wget v1.14 Patch] When using -nc argument


From: Juan Miguel Taboada Godoy
Subject: [Bug-wget] [Wget v1.14 Patch] When using -nc argument
Date: Sun, 17 Mar 2013 23:50:07 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

Hello:

This patch prevent wget from stopping when -nc argument is in use and
file in the disk (from a previous download) has a name which doesn't
finish with htm or html.

I detected this bug when downloading a website with this URL:
http://www.abc.com/dirdir/cgi-bin/Search.php?lng=EN&search=Query_Search_List

This was saved in the disk at:
dirdir/cgi-bin/
as a file named:
Search.php?lng=EN&search=Query_Search_List

When I was using -nc argument, wget couldn't detect that this file could
have links inside.

Because I believe wget should check most of the files as text/html just
in case there are some links inside to visit, I repaired this problem
not checking for htm or html suffix inside the name of the file.

Sincerely,

-- 
Juan Miguel Taboada Godoy

Centrologic (Computational Logistic Center)
address@hidden - http://www.centrologic.com
(PGP key: 0xBF597018)


-----------------------------------------------------------------------
La legislación española ampara el secreto de las comunicaciones. Este
mensaje se dirige exclusivamente a su destinatario y puede  contener
información privilegiada o CONFIDENCIAL. Si no es vd. el destinatario
indicado, queda notificado de que la utilización, divulgación y/o copia
sin autorización está prohibida en virtud de la legislación vigente. Si
ha recibido este mensaje por error, le rogamos que nos lo comunique
inmediatamente por esta misma vía y proceda a su destrucción.

Spanish law guarantees privacy in electronic communications. This
message is intended exclusively for its addressee and may contain
information that is CONFIDENTIAL and protected by professional
privilege.  If you are not the intended recipient you are hereby
notified that any dissemination, copy or disclosure of this
communication is  strictly prohibited by law. If this message
has been received in error, please immediately notify us via
e-mail and delete it.
-----------------------------------------------------------------------

Attachment: wget_1.14.patch.txt
Description: Text document

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]