From 082c0a27289b4d2054352adbd8f22debc0ea80f9 Mon Sep 17 00:00:00 2001 From: Xiao YiFang Date: Sun, 14 Aug 2022 11:30:17 +0800 Subject: [PATCH] website sandbox allow same origin --- website.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website.cc b/website.cc index 56613ce2..9f38b664 100644 --- a/website.cc +++ b/website.cc @@ -401,7 +401,7 @@ sptr< DataRequest > WebSiteDictionary::getArticle( wstring const & str, "onmouseout=\"processIframeMouseOut();\" " "scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" " "frameborder=\"0\" vspace=\"0\" hspace=\"0\"" - "style=\"overflow:visible; width:100%; display:block;\" sandbox=\"allow-scripts allow-popups\">" + "style=\"overflow:visible; width:100%; display:block;\" sandbox=\"allow-same-origin allow-scripts allow-popups\">" ""; dr->getData().resize( result.size() );