cloudcollaborationdecentralizeddesigndistributedenterprisefederatedfederationfile-sharingfree-softwarehacktoberfestjavascriptnextcloudopen-sourceopensourceowncloudself-hostingsharingusabilityux
13e817e901
Currently the `getPath` methods returned `NULL` in case when a file with the specified ID does not exist. This however mandates that developers are checking for the `NULL` case and if they do not the door for bugs with all kind of impact is widely opened. This is especially harmful if used in context with Views where the final result is limited based on the result of `getPath`, if `getPath` returns `NULL` PHP type juggles this to an empty string resulting in all possible kind of bugs. While one could argue that this is a misusage of the API the fact is that it is very often misused and an exception will trigger an immediate stop of execution as well as log this behaviour and show a pretty error page. I also adjusted some usages where I believe that we need to catch these errors, in most cases this is though simply an error that should hard-fail. |
||
---|---|---|
.idea | ||
3rdparty@ba133e82fe | ||
apps | ||
build | ||
config | ||
core | ||
l10n | ||
lib | ||
ocs | ||
ocs-provider | ||
resources/config | ||
settings | ||
tests | ||
themes | ||
.bowerrc | ||
.gitignore | ||
.gitmodules | ||
.htaccess | ||
.jshintrc | ||
.mailmap | ||
.scrutinizer.yml | ||
.tag | ||
.user.ini | ||
AUTHORS | ||
CONTRIBUTING.md | ||
COPYING-AGPL | ||
COPYING-README | ||
README.md | ||
autotest-external.sh | ||
autotest-hhvm.sh | ||
autotest-js.sh | ||
autotest.cmd | ||
autotest.sh | ||
bower.json | ||
buildjsdocs.sh | ||
console.php | ||
cron.php | ||
db_structure.xml | ||
index.html | ||
index.php | ||
issue_template.md | ||
occ | ||
public.php | ||
remote.php | ||
robots.txt | ||
status.php | ||
version.php |
README.md
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:
Dependencies:
Installation instructions
https://doc.owncloud.org/server/9.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/9.0/developer_manual/core/translation.html