mirror of https://github.com/kiwix/libkiwix.git
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 works around that limitation by providing message-based API for top context navigation. Now malicious pages can break out of the viewer iframe as soon as they learn about that API :) |
||
---|---|---|
.. | ||
data | ||
book.cpp | ||
httplib.h | ||
kiwixserve.cpp | ||
library.cpp | ||
library_server.cpp | ||
lrucache.cpp | ||
manager.cpp | ||
meson.build | ||
name_mapper.cpp | ||
opds_catalog.cpp | ||
otherTools.cpp | ||
pathTools.cpp | ||
regex.cpp | ||
server.cpp | ||
server_helper.cpp | ||
server_search.cpp | ||
server_testing_tools.h | ||
stringTools.cpp | ||
tagParsing.cpp |