OpenAssetIO / OpenAssetIO-Manager-BAL

A contrived "asset management system" for OpenAssetIO integration test cases.
Apache License 2.0
5 stars 4 forks source link

Don't percent decode `file://` URLs #109

Closed feltech closed 1 month ago

feltech commented 1 month ago

What

Do not percent-decode file:// URLs when retrieving from the library and passing to the host.

Why

Other functions that consume the returned URL will most likely expect the URL to be percent-encoded.

Notes

The culprit is theurl2pathname in normalize_file_url. We need to re-encode the URL after it's been reconstructed.