Open overheadhunter opened 1 year ago
In 1.2.8, we constructed the URI with an injected @ContextPath String contextPath
, from which we explicitly removed the trailing slash:
In 2.0.0 there is no Dagger any longer. But the normalizedContextPath()
that we pass to the servlet is still not having any trailing slash:
LinuxGioMounter fails to mount in some cases:
@infeo found this possibly related upstream bug in gvfs: https://gitlab.gnome.org/GNOME/gvfs/-/issues/630. Looks like a trailing slash in the URL may make the difference. However I am not sure, this really changed:
With webdav-nio-adapter version 1.2.8 (Cryptomator 1.6.17) this was the implementation:
https://github.com/cryptomator/webdav-nio-adapter/blob/b69f45d027a1d5ee56e601a685a6ce19ad459af5/src/main/java/org/cryptomator/frontend/webdav/mount/LinuxGioMounter.java#L41-L42
With webdav-nio-adapter version 2.0.0 (Cryptomator 1.7.0) it doesn't look any different:
https://github.com/cryptomator/webdav-nio-adapter/blob/6feec9f1ab49cf8cf33b02f8d5c7b6b48d5533d5/src/main/java/org/cryptomator/frontend/webdav/mount/LinuxGioMounter.java#L91-L94