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

Implement workaround for WebDAV encoding issue on certain servers #10608

Open
laurent22 opened this issue Jun 16, 2024 · 0 comments
Open

Implement workaround for WebDAV encoding issue on certain servers #10608

laurent22 opened this issue Jun 16, 2024 · 0 comments
Labels
bug It's a bug desktop All desktop platforms high High priority issues sync sync related issue

Comments

@laurent22
Copy link
Owner

laurent22 commented Jun 16, 2024

Operating system

Windows

Joplin version

3.0.0

Desktop version info

No response

Current behaviour

Error:

Last error: Error: href /remote.php/dav/files/[email protected]/Joplin/locks/ not in baseUrl https://nc.nl.tab.digital/remote.php/dav/files/name%40gmail.com/Joplin nor relativeBaseUrl /remote.php/dav/files/name%40gmail.com/Joplin

The current WebDAV driver needs to extract the relative path from the URL however due to the URL being encoded differently in different contexts, it sometimes fails to do so.

We should improve this check by first doing a regular comparison (as we do know) and, if that fails, do another comparison while URL-decoding the URL.

Expected behaviour

No response

Logs

No response

@laurent22 laurent22 added bug It's a bug desktop All desktop platforms sync sync related issue high High priority issues labels Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug desktop All desktop platforms high High priority issues sync sync related issue
Projects
None yet
Development

No branches or pull requests

1 participant