nextcloud-server/apps/settings/tests/SetupChecks
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 +07:00
..
AppDirsWithDifferentOwnerTest.php chore: Add SPDX header 2024-06-03 20:33:31 +07:00
CodeIntegrityTest.php fix(IntegrityCheck): Ensure the check is run if no results are available 2024-07-03 11:37:49 +07:00
DataDirectoryProtectedTest.php fix(SetupCheck): Properly check public access to data directory 2024-08-08 22:08:42 +07:00
ForwardedForHeadersTest.php chore: Add SPDX header 2024-06-03 20:33:31 +07:00
OcxProvicersTest.php chore: Add SPDX header 2024-06-03 20:33:31 +07:00
PhpDefaultCharsetTest.php chore: Add SPDX header 2024-06-03 20:33:31 +07:00
PhpOutputBufferingTest.php chore: Add SPDX header 2024-06-03 20:33:31 +07:00
SecurityHeadersTest.php chore: Add SPDX header 2024-06-03 20:33:31 +07:00
SupportedDatabaseTest.php fix(db): Promote the use of `getDatabaseProvider` to reduce the impage of removed upstream platforms 2024-07-19 11:21:14 +07:00
WellKnownUrlsTest.php chore: Add SPDX header 2024-06-03 20:33:31 +07:00