diff options
author | corvid <devnull@localhost> | 2014-12-24 20:34:41 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2014-12-24 20:34:41 +0000 |
commit | c3437f496d24fe8c2ad674c83ade927cbdc075c4 (patch) | |
tree | 3fe822b1292346018f0b009d4baed76e9bc90c58 /src/html.cc | |
parent | 38eb3d87a6c0a15fc28dc694c245de27ad933367 (diff) | |
parent | 8685e116bdbe7b92c5fdcf685c14cfb976334637 (diff) |
merge 3.0.4.1 branch
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 0c1ac37b..a1452858 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, |