Skip to content

Conversation

@seldoff
Copy link

@seldoff seldoff commented Nov 28, 2025

Task/Issue URL: https://app.asana.com/1/137249556945/task/1212148039097127

Description

Adds support for file paths on Windows and Mac. E.g. C:\test.html -> file://C:/test.html and /etc/test.html -> file:///etc/test.html.

Support is gated by Policy.allow_file_paths, false by default.

Algorithm to determine if a string is a file system path is adopted from the .NET's Uri class.

Steps to test this PR

@seldoff seldoff marked this pull request as draft November 28, 2025 19:14
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