Skip to content

fix(webdav): normalize mounted collection paths#132

Merged
Orinks merged 1 commit into
devfrom
codex/webdav-testing
May 26, 2026
Merged

fix(webdav): normalize mounted collection paths#132
Orinks merged 1 commit into
devfrom
codex/webdav-testing

Conversation

@Orinks
Copy link
Copy Markdown
Owner

@Orinks Orinks commented May 26, 2026

Summary

  • Normalize WebDAV hrefs for servers mounted under a path so PKD shows app-relative paths.
  • Treat WebDAV root navigation as a valid local client operation without requiring a server-side info lookup.
  • Add a WebDAV flow probe for the public DLP test endpoints using PortkeyDrop's client path.

Test Plan

  • uv run python -m ruff check scripts\webdav_flow_probe.py tests\test_webdav_flow_probe.py src\portkeydrop\protocols.py tests\test_protocols.py
  • uv run python -m ruff format --check scripts\webdav_flow_probe.py tests\test_webdav_flow_probe.py src\portkeydrop\protocols.py tests\test_protocols.py
  • uv run python scripts\webdav_flow_probe.py
  • uv run python -m pytest

@Orinks Orinks merged commit af93f38 into dev May 26, 2026
1 check failed
@gitguardian
Copy link
Copy Markdown

gitguardian Bot commented May 26, 2026

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
33190145 Triggered Generic Password a42f401 scripts/webdav_flow_probe.py View secret
33190145 Triggered Generic Password a42f401 scripts/webdav_flow_probe.py View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@Orinks Orinks deleted the codex/webdav-testing branch May 26, 2026 13:44
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.

1 participant