mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Support shorthand URLs in an input file
This commit is contained in:
parent
242ddfc74e
commit
5dcb116087
2
NEWS
2
NEWS
@ -13,6 +13,8 @@ Please send GNU Wget bug reports to <bug-wget@gnu.org>.
|
||||
** Support FTP listing for the FTP Server on Windows Server 2008 R2.
|
||||
|
||||
** Fix a regression when -c and --content-disposition are used together.
|
||||
|
||||
** Support shorthand URLs in an input file.
|
||||
|
||||
* Changes in Wget 1.14
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
2012-08-29 Rohit Mathulla <rohit_mathulla@yahoo.com> (tiny change)
|
||||
|
||||
* html-url.c (get_urls_file): Convert shorthand URLs.
|
||||
|
||||
2012-10-07 Ray Satiro <raysatiro@yahoo.com>
|
||||
|
||||
* url.c: Change the functions of a growable string object to null
|
||||
|
@ -804,6 +804,13 @@ get_urls_file (const char *file)
|
||||
url_text = merged;
|
||||
}
|
||||
|
||||
char *new_url = rewrite_shorthand_url (url_text);
|
||||
if (new_url)
|
||||
{
|
||||
xfree (url_text);
|
||||
url_text = new_url;
|
||||
}
|
||||
|
||||
url = url_parse (url_text, &up_error_code, NULL, false);
|
||||
if (!url)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user