Skip to content

Display a message to upgrade client if minimumSupportedDesktopVersion is thrown #6273

@solracsf

Description

@solracsf

How to use GitHub

  • Please use the 👍 reaction to show that you want to have the same feature implemented.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature description

When minimumSupportedDesktopVersion is set, it simply throws a 403 for unsupported clients.
Instead, a clear message should be displayed on the client stating that

This version of client is unsupported by the server. Minimum supported version is "{minimumSupportedDesktopVersion}". Please, upgrade your client.

or similar. This is much more user friendly than a simple 403 Forbidden.

https://github.com/nextcloud/server/blob/9964bcbfd576e3c0627f9c6bc662b3168d12a80b/config/config.sample.php#L1991-L2004

https://github.com/nextcloud/server/blob/9964bcbfd576e3c0627f9c6bc662b3168d12a80b/apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php#L56-L75

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions