mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Cloud personnel
Despite it's PHPDoc the function might return `null` which was not properly catched and thus in some situations the share was resolved to the sharing users root directory. To test this perform the following steps: * Share file in owncloud 7 (7.0.4.2) * Delete the parent folder of the shared file * The share stays is in the DB and the share via the sharelink is inaccessible. (which is good) * Upgrade to owncloud 8 (8.0.2) (This step is crucial. The bug is not reproduceable without upgrading from 7 to 8. It seems like the old tokens are handled different than the newer ones) * Optional Step: Logout, Reset Browser Session, etc. * Access the share via the old share url: almost empty page, but there is a dowload button which adds a "/download" to the URL. * Upon clicking, a download.zip is downloaded which contains EVERYTHING from the owncloud directory (of the user who shared the file) * No exception is thrown and no error is logged. This will add a check whether the share is a valid one and also adds unit tests to prevent further regressions in the future. Needs to be backported to ownCloud 8. Adding a proper clean-up of the orphaned shares is out-of-scope and would probably require some kind of FK or so. Fixes https://github.com/owncloud/core/issues/15097 |
||
|---|---|---|
| .idea | ||
| 3rdparty@08b820614a | ||
| apps | ||
| build | ||
| config | ||
| core | ||
| l10n | ||
| lib | ||
| ocs | ||
| settings | ||
| tests | ||
| themes | ||
| .bowerrc | ||
| .gitignore | ||
| .gitmodules | ||
| .htaccess | ||
| .jshintrc | ||
| .mailmap | ||
| .scrutinizer.yml | ||
| .tag | ||
| .user.ini | ||
| AUTHORS | ||
| autotest-external.sh | ||
| autotest-hhvm.sh | ||
| autotest-js.sh | ||
| autotest.cmd | ||
| autotest.sh | ||
| bower.json | ||
| buildjsdocs.sh | ||
| console.php | ||
| CONTRIBUTING.md | ||
| COPYING-AGPL | ||
| COPYING-README | ||
| cron.php | ||
| db_structure.xml | ||
| index.html | ||
| index.php | ||
| indie.json | ||
| issue_template.md | ||
| occ | ||
| public.php | ||
| README.md | ||
| remote.php | ||
| robots.txt | ||
| status.php | ||
| version.php | ||
ownCloud
ownCloud gives you freedom and control over your own data. A personal cloud which runs on your own server.
Build Status on Jenkins CI
Quality:
Depencencies:
Installation instructions
https://doc.owncloud.org/server/8.0/developer_manual/app/index.html
Contribution Guidelines
https://owncloud.org/contribute/
Get in touch
Important notice on translations
Please submit translations via Transifex: https://www.transifex.com/projects/p/owncloud/
For more detailed information about translations: http://doc.owncloud.org/server/8.0/developer_manual/core/translation.html
