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

fix: mailto URLs were reported as missing resources #1597

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rdeltour
Copy link
Member

Fix a regression bug introduced in PR #1582, in the implementatiom of OCFContainer#isRemote(URL).
The buggy implementation considered mailto URLs as local URLs. As a result, it reported an error as no matching local resource could be found in the container.

The new implementation says a URL is remote when it is not a data URL and is not the URL of a resource in the container.

Fix #1595

Fix a regression bug introduced in PR #1582, in the implementatiom of
`OCFContainer#isRemote(URL)`.
The buggy implementation considered `mailto` URLs as local URLs. As a
result, it reported an error as no matching local resource could be
found in the container.

The new implementation says a URL is remote when it is not a `data`
URL and is not the URL of a resource in the container.

Fix #1595
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release v5.2.0 mailto error — resource not found
1 participant