nextcloud/apps/settings/lib
MichaIng 79bcb9d3de fix(settings): make trailing slash for caldav/carddav redirects optional
#43939 moved the CalDAV/CardDAV redirect checks from the frontend to a new backend API.

Since the backend does not send an authentication header, checking for the expected response code 207 of the DAV endpoint does not work anymore, hence the URL of the last redirect is checked instead.

This URL is expected to contain a trailing slash, which was not required before, since the DAV endpoint works properly without it (when authenticated).

While a trailing slash in the redirect does no harm, it causes many setups to throw an admin panel warning, while in fact the redirects work properly. Furthermore, the proposed "/.well-known/carddav" => "/remote.php/dav/" redirect leads to double slashes, when doing a request to "/.well-known/carddav/", which seems more wrong then right.

This change makes the trailing slash optional, hence old and adjusted setups won't throw the warning anymore, and the DAV endpoint works well in both cases.

Signed-off-by: MichaIng <micha@dietpi.com>
2024-07-10 00:24:39 +02:00
..
Activity fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
AppInfo feat: add setup check for needed mimetype migrations 2024-06-19 11:22:49 +02:00
BackgroundJobs Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobs 2024-02-08 18:27:44 +01:00
Command/AdminDelegation feat(settings): add occ commands to handle admin delegation 2023-12-13 09:25:24 +01:00
Controller feat: Add legal notice and privacy policy links to help page 2024-04-23 15:40:36 +00:00
Events Update php licenses 2021-06-04 22:02:41 +02:00
Listener chore: Fix missing template parameter for IEventListener 2024-01-30 10:57:15 +01:00
Mailer fix: Apply new coding standard to all files 2024-04-04 11:45:22 +02:00
Middleware feat: rename users to account or person 2024-02-13 21:06:30 +01:00
Search chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Sections First pass at ai admin settings 2023-08-02 12:37:35 +02:00
Service chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
Settings feat(files_sharing): allow to specify allowed groups to share instead of excluded groups 2024-03-15 16:52:59 +01:00
SetupChecks fix(settings): make trailing slash for caldav/carddav redirects optional 2024-07-10 00:24:39 +02:00
UserMigration feat(UserMigration)!: 32-bit support 2023-05-05 17:59:57 -07:00
WellKnown fix(security): Update expiration date in security.txt 2024-03-28 11:09:23 +00:00
Hooks.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00
ResponseDefinitions.php feat: Add declarative settings 2024-03-12 13:56:54 +02:00