After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 602122 - mount WebDAV fails if username was entered [patch]
mount WebDAV fails if username was entered [patch]
Status: RESOLVED DUPLICATE of bug 586248
Product: gvfs
Classification: Core
Component: webdav backend
git master
Other All
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2009-11-16 17:48 UTC by Henrik Holst
Modified: 2011-05-08 10:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to make gvfsd-dav not include username and password when comparing uri:s (487 bytes, patch)
2009-11-16 17:48 UTC, Henrik Holst
none Details | Review

Description Henrik Holst 2009-11-16 17:48:59 UTC
Created attachment 147919 [details] [review]
patch to make gvfsd-dav not include username and password when comparing uri:s

When mounting a WebDAV folder, if one has entered the username in the Connect To Server Dialog, the mount fails.

This is due to that gfvsd-dav includes username and password when comparing the URI:s (the received and expected ones).

If one omits usersname in the Connect To Server Dialog then the username is NULL which is why it works then... Anyways, since no WebDAV server will ever send the username and password to the client (why should it) this match will never succeed.

I have included a patch that corrects the path check for gvfsbackenddav.c
Comment 1 Thomas 2010-02-19 14:39:00 UTC
I can confirm this bug for a DAV server with digest auth (gvfs-1.2.3)
Comment 2 Christian Kellner 2011-05-07 17:52:09 UTC
Correct analysis. Thanks (also for the patch). It is a duplicated of bug 586248 though. I will take care of it soon.

*** This bug has been marked as a duplicate of bug 586248 ***
Comment 3 Christian Kellner 2011-05-08 10:21:57 UTC
Committed a modified version to master (a2a2fe7) and gnome-3-0 (06f3952). Thanks Henrik again.