nextcloud/lib/private/legacy
Ferdinand Thiessen 0563757ea4 fix(SetupCheck): Properly check public access to data directory
When checking for public (web) access to the data directory the status is not enough
as you might have a webserver that forwards to e.g. a login page.
So instead check that the content of the file matches.

For this the `.ncdata` file (renamed from `.ocdata`¹) has minimal text content
to allow checking.

¹The file was renamed from the legacy `.ocdata`, there is a repair step to remove the old one.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 22:08:42 +02:00
..
template chore: Add SPDX header 2024-05-24 13:11:22 +02:00
OC_API.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
OC_App.php docs: correct return type for findAppInDirectories 2024-07-11 23:13:08 +02:00
OC_Defaults.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
OC_Files.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
OC_Helper.php refactor: Migrate some legacy and core functions to IFilenameValidator 2024-07-19 19:41:46 +02:00
OC_Hook.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
OC_Image.php Merge pull request #38364 from joshtrichards/jr-preview-libgd-webp-animation-bypass 2024-08-06 17:56:14 +02:00
OC_JSON.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
OC_Response.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
OC_Template.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
OC_User.php fix(Token): add FILESYSTEM scope with SCOPE_SKIP_PASSWORD_VALIDATION 2024-06-24 13:51:15 +02:00
OC_Util.php fix(SetupCheck): Properly check public access to data directory 2024-08-08 22:08:42 +02:00