mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
More quoting.
This commit is contained in:
parent
a00b834bb3
commit
18bca2706b
@ -1,3 +1,10 @@
|
||||
2009-07-02 Micah Cowan <micah@cowan.name>
|
||||
|
||||
* recur.c (url_enqueue): Quote enqueue/dequeue debug messages.
|
||||
|
||||
* html-url.c (append_url): Change "merge()" quoting style from
|
||||
locale_quoting_style to escape_quoting_style.
|
||||
|
||||
2009-07-01 Micah Cowan <micah@cowan.name>
|
||||
|
||||
* retr.c (retrieve_url): Use the existing "redirect" label,
|
||||
|
@ -305,10 +305,10 @@ append_url (const char *link_uri, int position, int size,
|
||||
char *complete_uri = uri_merge (base, link_uri);
|
||||
|
||||
DEBUGP (("%s: merge(%s, %s) -> %s\n",
|
||||
quotearg_n_style (0, locale_quoting_style, ctx->document_file),
|
||||
quotearg_n_style (0, escape_quoting_style, ctx->document_file),
|
||||
quote_n (1, base),
|
||||
quote_n (2, link_uri),
|
||||
quotearg_n_style (3, locale_quoting_style, complete_uri)));
|
||||
quotearg_n_style (3, escape_quoting_style, complete_uri)));
|
||||
|
||||
url = url_parse (complete_uri, NULL, NULL, false);
|
||||
if (!url)
|
||||
|
@ -111,7 +111,8 @@ url_enqueue (struct url_queue *queue, struct iri *i,
|
||||
if (queue->count > queue->maxcount)
|
||||
queue->maxcount = queue->count;
|
||||
|
||||
DEBUGP (("Enqueuing %s at depth %d\n", url, depth));
|
||||
DEBUGP (("Enqueuing %s at depth %d\n",
|
||||
quotearg_n_style (0, escape_quoting_style, url), depth));
|
||||
DEBUGP (("Queue count %d, maxcount %d.\n", queue->count, queue->maxcount));
|
||||
|
||||
if (i)
|
||||
@ -152,7 +153,8 @@ url_dequeue (struct url_queue *queue, struct iri **i,
|
||||
|
||||
--queue->count;
|
||||
|
||||
DEBUGP (("Dequeuing %s at depth %d\n", qel->url, qel->depth));
|
||||
DEBUGP (("Dequeuing %s at depth %d\n",
|
||||
quotearg_n_style (0, escape_quoting_style, qel->url), qel->depth));
|
||||
DEBUGP (("Queue count %d, maxcount %d.\n", queue->count, queue->maxcount));
|
||||
|
||||
xfree (qel);
|
||||
|
Loading…
Reference in New Issue
Block a user