diff options
author | Ondrej Holy <oholy@redhat.com> | 2022-04-22 09:50:36 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2022-04-22 14:08:25 +0200 |
commit | 6636d89ff549d2ea51dbe2911bae92250be8bea0 (patch) | |
tree | 36ae660f7474c20cbfeda18e5127ab7da0b5f5f9 /NEWS | |
parent | 4c92b244dee619abbc827d05ee098259515890b1 (diff) | |
download | gvfs-6636d89ff549d2ea51dbe2911bae92250be8bea0.tar.gz |
dav: Drop user from URI as a workaround for Nextcloud bug
Currently, it is not possible to connect to some Nextcloud servers when
a username is part of URI. So this also affects volumes configured over
GOA. The main problem seems to be that Nextcloud doesn't send the
`WWW-Authenticate` header as a part of 401 response in certain cases (e.g.
when 2FA is enabled). A recent libsoup change leads to the situation that
DAV backend doesn't have a chance to specify a password as the `authenticate`
signal is not called at all. This is because libsoup tries to authenticate
with an empty password first. Let's drop the username from URI to avoid the
password-less login attempt so the backend has at least one chance to try
some password in this case...
Fixes: https://gitlab.gnome.org/GNOME/gvfs/-/issues/617
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions