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
external storage: broken file access #3644
Comments
Is xsendfile not checking if the file is local? |
Within the configuration of xsendfile you can/need to configure the local path which are allowed to be served: We have no influence of the xsendfile configuration. |
Thanks for helping me out. This link was exactly the right hint. After adding the specified paths, everything is working as expected! It was not obvious to me that I had to do this change! Wouldn't it be possible to let the external storage app do this change through the .htaccess file? |
hehe - until you reported this issue nobody was thinking about this side effect. @XueSheng-GIT If you are interested you can enhance the documentation:
THX a lot |
I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version. Please reopen if you still encounter this issue with the latest stable version (currently ownCloud 5.0.10) and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :) Thank you! |
Expected behaviour
Download of files and e.g. preview of pictures should work for local and external storage.
Actual behaviour
Download of files which are mounted through external storage app results in an error:
Clicking on a jpg files gives the following error:
Steps to reproduce
Server configuration
Operating system: Ubuntu 12.04
Web server: Server version: Apache/2.2.22 (Ubuntu), Server built: Mar 8 2013 15:53:13
Database: mysql
PHP version: PHP 5.3.10-1ubuntu3.6
ownCloud version: 5.0.7
Client configuration
Browser: Firefox 21.0
Operating system: Ubuntu 13.04
Logs
apache error.log
It seems that the external_storage should not be above root path. Shouldn't the external storage app care about this? How to fix it?
The text was updated successfully, but these errors were encountered: