summaryrefslogtreecommitdiff
path: root/src/html.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/html.cc')
-rw-r--r--src/html.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/html.cc b/src/html.cc
index 68465b08..abb3c416 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -2831,7 +2831,8 @@ static void Html_tag_open_meta(DilloHtml *html, const char *tag, int tagsize)
/* zero-delay redirection */
html->stop_parser = true;
DilloUrl *new_url = a_Url_new(mr_url, URL_STR(html->base_url));
- a_UIcmd_redirection0((void*)html->bw, new_url);
+ if (a_Capi_dpi_verify_request(html->bw, new_url))
+ a_UIcmd_redirection0((void*)html->bw, new_url);
a_Url_free(new_url);
} else {
/* Send a custom HTML message.