Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full file:// syntax support #41

Merged
merged 4 commits into from
Jun 14, 2024
Merged

Conversation

feltech
Copy link
Member

@feltech feltech commented Jun 12, 2024

Closes #14. Fully support file URLs by making use the OpenAssetIO FileUrlPathConverter utility.

Also do a little refactoring to pimpl.

Additionally, we seemed to have lost the revert commit that removed the mitigation of OpenAssetIO/OpenAssetIO#1225, so update the exception catching to once again catch std::exception.

@feltech feltech self-assigned this Jun 12, 2024
@feltech feltech changed the title [Core] Full file:// syntax support Full file:// syntax support Jun 12, 2024
@feltech feltech force-pushed the work/14-urlHandling branch 4 times, most recently from 0929e55 to c29f67e Compare June 13, 2024 08:33
src/resolver.h Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Part of OpenAssetIO#14. Fix `catchAndLogExceptions` to remove the mitigation
against bad RTTI behaviour in OpenAssetIO exceptions. This was fixed
upstream in OpenAssetIO/OpenAssetIO#1225.

Signed-off-by: David Feltell <[email protected]>
Part of OpenAssetIO#14. Remove unnecessary public header. The resolver plugin is
never `#include`d as an external library, so having a public header just
confuses matters.

Signed-off-by: David Feltell <[email protected]>
Closes OpenAssetIO#14. Fully support `file` URLs by making use the OpenAssetIO
`FileUrlPathConverter` utility.

The utility will throw on non-`file` URLs being provided, maintaining
existing behaviour (with a slightly different error message). Confirmed
with manual testing.

The `FileUrlPathConverter` utility is only available as of OpenAssetIO
1.0.0-beta.2.0. So update README.

Signed-off-by: David Feltell <[email protected]>
Part of OpenAssetIO#14. A few minor tweaks highlighted by Clang-Tidy - a
few `final` and `const`.

Signed-off-by: David Feltell <[email protected]>
@feltech feltech merged commit 0b7108a into OpenAssetIO:main Jun 14, 2024
10 checks passed
@feltech feltech deleted the work/14-urlHandling branch June 14, 2024 12:01
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.

Handle URL encoding
2 participants