nextcloud/apps
MichaIng ea994fe8fb
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-06-24 17:52:22 +02:00
..
admin_audit fix: renameParams named as renamedNodes and code changed accordingly as suggested in review comments 2024-06-20 10:54:45 +05:30
cloud_federation_api Fix(l10n): Update translations from Transifex 2024-06-05 09:56:05 +00:00
comments Fix(l10n): Update translations from Transifex 2024-06-15 00:20:38 +00:00
contactsinteraction Fix(l10n): Update translations from Transifex 2024-06-14 00:19:48 +00:00
dashboard chore: Add SPDX header 2024-06-19 12:02:43 +02:00
dav Merge pull request #45998 from nextcloud/publicdav-fs-setup 2024-06-24 14:43:23 +02:00
encryption chore: Add SPDX header 2024-06-19 12:02:43 +02:00
federatedfilesharing chore: Add SPDX header 2024-06-06 18:05:37 +02:00
federation chore: Add SPDX header 2024-06-06 18:05:37 +02:00
files refactor(files): Fix nullish operator usage and add missing code comment 2024-06-24 12:53:53 +02:00
files_external Merge pull request #45938 from nextcloud/do-not-log-an-error-when-connecting-to-sftp-without-a-logged-in-user 2024-06-24 10:35:16 +02:00
files_reminders Fix(l10n): Update translations from Transifex 2024-06-18 00:20:27 +00:00
files_sharing Fix(l10n): Update translations from Transifex 2024-06-24 00:19:33 +00:00
files_trashbin fix(files_trashbin): Make files view registering an init script 2024-06-23 16:53:10 +02:00
files_versions fix(files_versions): renaming file version when its not a string 2024-06-20 00:31:52 +02:00
lookup_server_connector Fix(l10n): Update translations from Transifex 2024-06-18 00:20:27 +00:00
oauth2 chore: Add SPDX header 2024-06-19 12:02:43 +02:00
provisioning_api Fix(l10n): Update translations from Transifex 2024-06-23 00:19:40 +00:00
settings fix(settings): make trailing slash for caldav/carddav redirects optional 2024-06-24 17:52:22 +02:00
sharebymail Fix(l10n): Update translations from Transifex 2024-06-18 00:20:27 +00:00
systemtags Fix(l10n): Update translations from Transifex 2024-06-21 00:19:57 +00:00
testing chore: Add SPDX header 2024-06-02 20:00:00 +02:00
theming chore(deps): Update debounce to 2.1.0 2024-06-23 16:53:10 +02:00
twofactor_backupcodes Fix(l10n): Update translations from Transifex 2024-06-05 09:56:05 +00:00
updatenotification Fix(l10n): Update translations from Transifex 2024-06-16 00:19:16 +00:00
user_ldap Fix(l10n): Update translations from Transifex 2024-06-16 00:19:16 +00:00
user_status chore(assets): Recompile assets 2024-06-19 10:22:05 +00:00
weather_status Fix(l10n): Update translations from Transifex 2024-06-23 00:19:40 +00:00
webhook_listeners chore: Add SPDX header 2024-06-13 14:15:32 +02:00
workflowengine Fix(l10n): Update translations from Transifex 2024-06-23 00:19:40 +00:00