Skip to content

Conversation

@LukasHirt
Copy link
Collaborator

@LukasHirt LukasHirt commented Jan 28, 2026

Description

Added a new logic to the WebDAV client to strip the prefix from the path if it is present. Previously, only /dav/ prefix would be stripped when parsing the response. Now, it will strip all the parts of the base remote URL. For example, if the base remote URL is [https://example.com/my/nested/path/](https://example.com/my/nested/path/%60), it will strip the /my/nested/path/dav/ prefix.

Motivation and Context

Support deployments where base server URL is using nested paths.

How Has This Been Tested?

  • test environment: chrome, macos
  • test case 1: run oC on a subpath

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

@LukasHirt LukasHirt self-assigned this Jan 28, 2026
@update-docs
Copy link

update-docs bot commented Jan 28, 2026

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@LukasHirt LukasHirt force-pushed the feat/strip-base-path branch from 0d6535d to f5bd823 Compare February 12, 2026 13:59
@LukasHirt LukasHirt changed the title feat(web-client): strip base path [full-ci] feat(web-client): strip base path Feb 12, 2026
Added a new logic to the WebDAV client to strip the prefix from the path
if it is present. Previously, only `/dav/` prefix would be stripped when
parsing the response. Now, it will strip all the parts of the base
remote URL. For example, if the base remote URL is
`https://example.com/my/nested/path/`, it will strip
the `/my/nested/path/dav/` prefix.
@LukasHirt LukasHirt force-pushed the feat/strip-base-path branch from f5bd823 to 1946166 Compare February 12, 2026 14:01
@LukasHirt LukasHirt marked this pull request as ready for review February 12, 2026 14:01
@LukasHirt LukasHirt requested a review from mzner February 12, 2026 14:01
@LukasHirt
Copy link
Collaborator Author

I'm omitting test for this as we currently haven't got unit tests for the webdav client at all.

@sonarqubecloud
Copy link

@LukasHirt LukasHirt enabled auto-merge February 12, 2026 14:21
@LukasHirt LukasHirt merged commit 5a3906e into master Feb 12, 2026
4 checks passed
@LukasHirt LukasHirt deleted the feat/strip-base-path branch February 12, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants