{"action":"created","issue":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/3461","repository_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf","labels_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/3461/labels{/name}","comments_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/3461/comments","events_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/3461/events","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3461","id":226589284,"node_id":"MDU6SXNzdWUyMjY1ODkyODQ=","number":3461,"title":"Content-Security-Policy issue","user":{"login":"nikolagrujic-zz","id":9430301,"node_id":"MDQ6VXNlcjk0MzAzMDE=","avatar_url":"https://avatars0.githubusercontent.com/u/9430301?v=4","gravatar_id":"","url":"https://api.github.com/users/nikolagrujic-zz","html_url":"https://github.com/nikolagrujic-zz","followers_url":"https://api.github.com/users/nikolagrujic-zz/followers","following_url":"https://api.github.com/users/nikolagrujic-zz/following{/other_user}","gists_url":"https://api.github.com/users/nikolagrujic-zz/gists{/gist_id}","starred_url":"https://api.github.com/users/nikolagrujic-zz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikolagrujic-zz/subscriptions","organizations_url":"https://api.github.com/users/nikolagrujic-zz/orgs","repos_url":"https://api.github.com/users/nikolagrujic-zz/repos","events_url":"https://api.github.com/users/nikolagrujic-zz/events{/privacy}","received_events_url":"https://api.github.com/users/nikolagrujic-zz/received_events","type":"User","site_admin":false},"labels":[{"id":79167298,"node_id":"MDU6TGFiZWw3OTE2NzI5OA==","url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/labels/NeedInfo","name":"NeedInfo","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-05T14:23:31Z","updated_at":"2018-08-07T10:28:34Z","closed_at":"2018-08-07T10:28:34Z","author_association":"NONE","body":"I'm having problems with generating pdf from html that has embedded iFrame inside, although loading html itself is not a problem, wkthmltopdf is throwing errors. \r\n\r\nAfter turning on the **--debug-javascript** option, I'm seeing these errors **Warning: :1 Refused to load script from \"customUrlOfTheScriptHere\" because of Content-Security-Policy.** As a result I get pdf but without rendered iFrame.\r\n\r\nThis is happening with versions **0.12.3 (with patched qt)** and **0.12.4 (with patched qt)**. \r\n\r\nI tried downgrading to older versions **0.12.3.2** and **0.12.1** and I don't have this issue with Content-Security-Policy and generating resulting pdf (iFrame is rendered as it should) but I need patched qt version so downgrading doesn't work for me. Can I try some workaround or option which will prevent or skip these errors and help me render iFrame and pdf properly?"},"comment":{"url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/comments/411011226","html_url":"https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3461#issuecomment-411011226","issue_url":"https://api.github.com/repos/wkhtmltopdf/wkhtmltopdf/issues/3461","id":411011226,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTAxMTIyNg==","user":{"login":"Tomsgu","id":2694769,"node_id":"MDQ6VXNlcjI2OTQ3Njk=","avatar_url":"https://avatars2.githubusercontent.com/u/2694769?v=4","gravatar_id":"","url":"https://api.github.com/users/Tomsgu","html_url":"https://github.com/Tomsgu","followers_url":"https://api.github.com/users/Tomsgu/followers","following_url":"https://api.github.com/users/Tomsgu/following{/other_user}","gists_url":"https://api.github.com/users/Tomsgu/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomsgu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomsgu/subscriptions","organizations_url":"https://api.github.com/users/Tomsgu/orgs","repos_url":"https://api.github.com/users/Tomsgu/repos","events_url":"https://api.github.com/users/Tomsgu/events{/privacy}","received_events_url":"https://api.github.com/users/Tomsgu/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T10:28:34Z","updated_at":"2018-08-07T10:28:34Z","author_association":"CONTRIBUTOR","body":"Closing as there is no response. Please feel free to re-open the issue if you have still the same problem in `0.12.5`."}}
{"actor":{"display_login":"Tomsgu"}}