Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable28] fix(dav): fallback realm for HTTP authentication #43796

Merged
merged 1 commit into from
Feb 29, 2024

Commits on Feb 23, 2024

  1. fix(dav): fallback realm for HTTP authentication

    By default, the name of the Nextcloud instance is an empty string, until changed by the admin. This leads to an empty realm sent with the WWW-Authenticate header, while the realm is mandatory for Basic HTTP authentication. Some clients have issues with an empty realm, e.g. Thunderbird cannot store passwords in this case.
    
    This commit applies "Nextcloud" as fallback for the realm, in case the name of the Nextcloud instance is not set.
    
    Solves: https://help.nextcloud.com/t/thunderbird-dont-save-caldav-password-because-of-missing-httprealm-or-formsubmiturl/93233
    
    Signed-off-by: MichaIng <micha@dietpi.com>
    MichaIng authored and backportbot[bot] committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    54f47f5 View commit details
    Browse the repository at this point in the history