#include "html-url.h"
#include "css-url.h"
#include "spider.h"
-#include "iri.h"
\f
/* Functions for maintaining the URL queue. */
if (i)
DEBUGP (("[IRI Enqueuing %s with %s\n", quote (url),
- quote (i->uri_encoding)));
+ i->uri_encoding ? quote (i->uri_encoding) : "None"));
if (queue->tail)
queue->tail->next = qel;
int up_error_code;
struct url *start_url_parsed;
struct iri *i = iri_new ();
- set_uri_encoding (i, opt.locale);
+ set_uri_encoding (i, opt.locale, true);
start_url_parsed = url_parse (start_url, &up_error_code, i);
if (!start_url_parsed)
blacklist, i))
{
ci = iri_new ();
- set_uri_encoding (ci, i->content_encoding);
+ set_uri_encoding (ci, i->content_encoding, false);
url_enqueue (queue, ci, xstrdup (child->url->url),
xstrdup (referer_url), depth + 1,
child->link_expect_html,