Skip to content

Added file paths tests. - #2454

Merged
afourney merged 1 commit into
mainfrom
add_file_path_tests
Sep 10, 2026
Merged

afourney merged 1 commit into
mainfrom
add_file_path_tests

Conversation

@afourney

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The tests comprehensively cover blocked network paths and valid local paths across supported platforms.

Pull request overview

Adds cross-platform tests for secure local file URI handling.

Changes:

  • Tests rejection of UNC, device, and remote file paths.
  • Verifies valid POSIX and Windows file URI conversion.
File summaries
File Description
packages/markitdown/tests/test_file_paths.py Adds file path validation and conversion coverage.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@afourney
afourney merged commit 9480644 into main Sep 10, 2026
30 checks passed
@afourney
afourney deleted the add_file_path_tests branch September 10, 2026 22:52
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