website sandbox allow same origin

This commit is contained in:
Xiao YiFang 2022-08-14 11:30:17 +08:00
parent 7bac467588
commit 082c0a2728

View file

@ -401,7 +401,7 @@ sptr< DataRequest > WebSiteDictionary::getArticle( wstring const & str,
"onmouseout=\"processIframeMouseOut();\" " "onmouseout=\"processIframeMouseOut();\" "
"scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" " "scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" "
"frameborder=\"0\" vspace=\"0\" hspace=\"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\">"
"</iframe>"; "</iframe>";
dr->getData().resize( result.size() ); dr->getData().resize( result.size() );