This is a quick and simple patch to address Bug #463. All I did was to _remove_ the 'if' statement in html.c , which ignored the BASE HREF= tag if it was not within HEAD. Does removing that restriction really cause any problems? Just about every other browser handles a BASE tag in the body. Even the w3c.org HTML validator doesn't complain about BASE not being in HEAD. diff -ur /tmp/dillo-0.7.3/src/html.c dillo-0.7.3/src/html.c --- /tmp/dillo-0.7.3/src/html.c Sat Jul 19 16:05:28 2003 +++ dillo-0.7.3/src/html.c Mon Oct 6 20:02:31 2003 @@ -3651,7 +3651,6 @@ const char *attrbuf; DilloUrl *BaseUrl; - if (html->InFlags & IN_HEAD) { if ((attrbuf = Html_get_attr(html, tag, tagsize, "href"))) { BaseUrl = a_Url_new(attrbuf, "", 0, 0); if (URL_SCHEME_(BaseUrl)) { @@ -3665,9 +3664,6 @@ a_Url_free(BaseUrl); } } - } else { - DEBUG_HTML_MSG("the BASE element must appear in the HEAD section\n"); - } } /*