mirror of
https://github.com/mirror/wget.git
synced 2025-01-28 05:10:35 +08:00
Do not adjust the extension if the file ends in .htm.
This commit is contained in:
parent
09bc5b5787
commit
bb6a72caea
3
NEWS
3
NEWS
@ -54,6 +54,9 @@ Please send GNU Wget bug reports to <bug-wget@gnu.org>.
|
|||||||
|
|
||||||
** Fix an infinite loop with the error '<filename> has sprung into existence'
|
** Fix an infinite loop with the error '<filename> has sprung into existence'
|
||||||
on a network error and -nc is used.
|
on a network error and -nc is used.
|
||||||
|
|
||||||
|
** Now --adjust-extension does not modify the file extension if the file ends
|
||||||
|
in .htm.
|
||||||
|
|
||||||
* Changes in Wget 1.12
|
* Changes in Wget 1.12
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2011-03-02 Tomasz Buchert <tomek.buchert@gmail.com> (tiny change)
|
||||||
|
|
||||||
|
* http.c (ensure_extension): Do not adjust the extension if the file
|
||||||
|
ends in .htm.
|
||||||
|
|
||||||
2011-02-22 Gilles Carry <gilles dot carry at st dot com>
|
2011-02-22 Gilles Carry <gilles dot carry at st dot com>
|
||||||
|
|
||||||
* main.c (prompt_for_password): Use stderr instead of stdout
|
* main.c (prompt_for_password): Use stderr instead of stdout
|
||||||
|
@ -3501,7 +3501,7 @@ ensure_extension (struct http_stat *hs, const char *ext, int *dt)
|
|||||||
if (len == 5)
|
if (len == 5)
|
||||||
{
|
{
|
||||||
strncpy (shortext, ext, len - 1);
|
strncpy (shortext, ext, len - 1);
|
||||||
shortext[len - 2] = '\0';
|
shortext[len - 1] = '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (last_period_in_local_filename == NULL
|
if (last_period_in_local_filename == NULL
|
||||||
|
Loading…
Reference in New Issue
Block a user