<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Solved]Webserver CSPs prevent Opera from displaying PDFs]]></title><description><![CDATA[<p dir="auto">On a webserver with enhanced security, downloading a PDF gives just a blank page. I assume that this is similar to the same bug in Chrome, but there you get a partial page. On opera you just get a blank page. Ie server settings:<br />
Header set Content-Security-Policy: "script-src 'strict-dynamic' 'nonce-rAnd0m123' 'unsafe-inline' http: https:; object-src 'none'; base-uri 'none';"<br />
Opera 63.0.3368.71</p>
]]></description><link>https://forums.opera.com/topic/35286/solved-webserver-csps-prevent-opera-from-displaying-pdfs</link><generator>RSS for Node</generator><lastBuildDate>Sat, 12 Sep 2026 03:17:57 GMT</lastBuildDate><atom:link href="https://forums.opera.com/topic/35286.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 20 Sep 2019 09:29:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved]Webserver CSPs prevent Opera from displaying PDFs on Fri, 20 Sep 2019 09:51:22 GMT]]></title><description><![CDATA[<p dir="auto">Answering my own posting: This is the error:<br />
Refused to load plugin data from '<a href="https://www.acme.com/page.pdf" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.acme.com/page.pdf</a>' because it violates the following Content Security Policy directive: "object-src 'none'".</p>
<p dir="auto">Removed that from the csp config and now it works.</p>
]]></description><link>https://forums.opera.com/post/182381</link><guid isPermaLink="true">https://forums.opera.com/post/182381</guid><dc:creator><![CDATA[andersgustafsson]]></dc:creator><pubDate>Fri, 20 Sep 2019 09:51:22 GMT</pubDate></item></channel></rss>