diff options
Diffstat (limited to 'wsd/FileServer.cpp')
-rw-r--r-- | wsd/FileServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wsd/FileServer.cpp b/wsd/FileServer.cpp index 0fb30990e9..c20e29d3ae 100644 --- a/wsd/FileServer.cpp +++ b/wsd/FileServer.cpp @@ -892,7 +892,7 @@ void FileServerRequestHandler::preprocessFile(const HTTPRequest& request, // X-Frame-Options supports only one ancestor, ignore that //(it's deprecated anyway and CSP works in all major browsers) // frame anchestors are also allowed for img-src in order to load the views avatars - cspOss << imgSrc << frameAncestors << "; " + cspOss << imgSrc << " " << frameAncestors << "; " << "frame-ancestors " << frameAncestors; std::string escapedFrameAncestors; Poco::URI::encode(frameAncestors, "'", escapedFrameAncestors); |