New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF viewer issue on Firefox #60
Comments
Thanks a lot for reporting issues back to us! We need some more information to properly support you with your issue! Can I ask you to follow our guidelines for submitting bugs as described here: https://github.com/owncloud/core/blob/master/CONTRIBUTING.md |
Steps to reproduce1.do a fresh install Expected behaviourActual behaviourMore PDF files not open on Firefox 31.8.0, under IE and Chrome is working. If I turn off the CSP on about:config (security.csp.enable) is working. Server configuration**Operating system: Debian 8 jessie x64 **Web server:apache 2 **Database:mysql **PHP version:5.9 **ownCloud version:ownCloud 8.1.0 (stable) **Updated from an older ownCloud or fresh install:fresh install **The content of config/config.php: 'installed' => true, *_Are you using external storage, if yes which one:NO Client configuration*_Browser: Firefox 38.1.0 ESR, Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 Lightning/4.0.1.2 LogsWeb server error log192.168.200.127 - - [02/Aug/2015:09:35:42 +0200] "GET /weboffice/core/img/actions/close.svg HTTP/1.1" 304 172 "http://192.168.200.100/weboffice/core/css/icons.css?v=82d3b7cfd038c26a9eee546739f21eb3" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0" ownCloud log (data/owncloud.log){"reqId":"CCtBKWhyYDrjwSYc2SlM","remoteAddr":"","app":"PHP","message":"Undefined index: REQUEST_URI at /usr/share/owncloud/apps/contacts/appinfo/app.php#35","level":3,"time":"2015-08-02T08:15:02+02:00"} Browser logContent Security Policy: Unable to process the unknown „child-src” directive |
I'm seeing a similar issue with Firefox 39.0.3 on MAC OSX 10.10.4: |
This works just fine from me. Can you please share the PDF in question with me? Thanks. |
(see my profile for my mail address) |
I just tested the same PDF files with Chrome 44.0.2403.130 (64-bit) and they all are showing up fine. I can also confirm that with "security.csp.enable" set to "false" in "about:config" all PDFs are displayed correctly in Firefox 39.0.3. |
I am experiencing the same problem with Chrome 45.0.2454.85 32 bit on Windows 7 64 bit. Same with Firefox 40.0 unless I disable CSP as described above. |
Please test #65 |
Adding
to displaycontroller.php works - I can now see pdf images in Chrome. But security wise, isn't this a little loose? The probability of it being exploited is probably pretty low, but I don't know. Thanks, |
Images are non active content. The only thing that happens now is that a PDF file might include external resources which will then get loaded and the person who sent you this file will then know that you accessed it using ownCLoud. |
Okay. Sounds good. Thanks for your help! Jeff |
Hmmm... getting this:
After re-enabling CSP in Firefox 40.0.3. |
Does only the error appear or does it actually work? Firefox has a somewhat buggy CSP implementation ;-) |
Unfortunately, it shows blank pages where the images should be. Sorry! |
Can you share the PDF with me? See my profile for my mail address. |
Lukas I shared a sample pdf that shows blank page when opened in OwnCloud PDF viewer. See your email. |
hi, I have the same problem |
Potentially fixed with #65, please open a new issue if this still persists. Also clean your cache :-) |
The PDF files not open on Firefox 31.8.0, under IE and Chrome is working. If I turn off the CSP on about:config (security.csp.enable) is working.
The text was updated successfully, but these errors were encountered: