mirror of https://github.com/kiwix/libkiwix.git
Fixed external links in the viewer iframe
Before this fix clicking an external link in the viewer iframe had no effect (other than an error being reported in the browser dev tools console) because the attempt to navigate the top browser context was suppressed due to sandboxing.
This commit is contained in:
parent
deb02d92e2
commit
d2b014656b
|
@ -1088,6 +1088,7 @@ const std::string CONTENT_CSP_HEADER =
|
|||
|
||||
"sandbox allow-scripts "
|
||||
"allow-same-origin "
|
||||
"allow-top-navigation-by-user-activation "
|
||||
"allow-modals "
|
||||
"allow-popups "
|
||||
"allow-forms "
|
||||
|
|
Loading…
Reference in New Issue