diff options
Diffstat (limited to 'src/html.cc')
-rw-r--r-- | src/html.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/html.cc b/src/html.cc index c17db53a..be4d3526 100644 --- a/src/html.cc +++ b/src/html.cc @@ -3202,8 +3202,12 @@ static void Html_tag_open_meta(DilloHtml *html, const char *tag, int tagsize) } else if (delay == 0) { /* zero-delay redirection */ html->stop_parser = true; - if (a_Capi_dpi_verify_request(html->bw, new_url)) + if (URL_FLAGS(html->base_url) & URL_SpamSafe) { + a_UIcmd_set_msg(html->bw, + "WARNING: local URL with META refresh. Aborting."); + } else if (a_Capi_dpi_verify_request(html->bw, new_url)) { a_UIcmd_redirection0((void*)html->bw, new_url); + } } else { /* Send a custom HTML message. * TODO: This is a hairy hack, |