Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Assure that responses are resolved against the request base URI#249

Merged
ndw merged 1 commit intoxmlresolver:mainfrom
ndw:iss-248
May 19, 2025
Merged

Assure that responses are resolved against the request base URI#249
ndw merged 1 commit intoxmlresolver:mainfrom
ndw:iss-248

Conversation

@ndw
Copy link
Collaborator

@ndw ndw commented May 19, 2025

Fix #248

If we find ourselves trying to get a resource from a response and the URI isn’t absolute, and the base URI of the request also isn’t absolute, resolve the base URI of the request against the current working directory, then the relative URI against that. This is more likely to be correct.

Fix xmlresolver#248

If we find ourselves trying to get a resource from a response and the URI isn’t
absolute, and the base URI of the request also isn’t absolute, resolve the base
URI of the request against the current working directory, then the relative URI
against that. This is more likely to be correct.
@ndw ndw merged commit 3de658e into xmlresolver:main May 19, 2025
2 checks passed
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.

In ResourceAccess, don't resolve against the cwd, resolve against the request base URI

1 participant