GNOME Bugzilla – Bug 590738
[PATCH] Calculates wrong mount_prefix (has trailing /)
Last modified: 2009-08-13 14:27:28 UTC
Please describe the problem: The webdav tries to calculate the mount_prefix, by traversing up the directory it is asked to mount, until it encounters an error. It fails to remove a trailing slash from the final path, resulting in extra mounts happening. Steps to reproduce: 1. Go to dav://webserver/dav/docs in nautilus. A mount is now created, with mount_prefix=="/dav/" (verify with gvfs-info dav://webserver/dav/docs) 2. Use the up-arrow to go one directory up 3. An extra mount is created, with mount_prefix=="/dav" Actual results: An extra mount is created, meaning that two mounts now exist for the same location. Expected results: No extra mount created. Does this happen every time? Yes Other information:
Created attachment 139869 [details] [review] Short patch, removing a trailing slash before mounting
Created attachment 139901 [details] [review] Don't do anything if mount_prefix == '/'
*** This bug has been marked as a duplicate of 590730 ***