mirror of
https://github.com/open-webui/oikb.git
synced 2026-11-05 01:27:25 +00:00
[PR #140] [MERGED] fix: handle Nextcloud DAV path encoding #131
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/oikb#131
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/oikb/pull/140
Author: @glonor
Created: 10/9/2026
Status: ✅ Merged
Merged: 10/10/2026
Merged by: @tjbck
Base:
main← Head:fix/nextcloud-dav-path-encoding📝 Commits (1)
e295e4cfix: handle Nextcloud DAV path encoding📊 Changes
2 files changed (+89 additions, -4 deletions)
View changed files
📝
src/oikb/connectors/nextcloud.py(+4 -4)➕
tests/test_nextcloud.py(+85 -0)📄 Description
Fixes #74.
Nextcloud can return WebDAV hrefs containing
user@example.com, while OIKB builds the DAV root usinguser%40example.com. This mismatch discards valid entries and reports an empty source.Decode both paths once before matching and check the root boundary. This preserves distinct filenames containing spaces and literal
%20.Adds regression tests.
Testing
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.