Repository navigation
Conversation
Bumps [typer](https://github.com/fastapi/typer) from 0.27.3 to 0.28.0. - [Release notes](https://github.com/fastapi/typer/releases) - [Changelog](https://github.com/fastapi/typer/blob/master/docs/release-notes.md) - [Commits](fastapi/typer@0.27.3...0.28.0) --- updated-dependencies: - dependency-name: typer dependency-version: 0.28.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.17.3 to 0.17.4. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.17.3...0.17.4) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.17.4 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [cachetools](https://github.com/tkem/cachetools) from 7.2.8 to 7.3.0. - [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst) - [Commits](tkem/cachetools@v7.2.8...v7.3.0) --- updated-dependencies: - dependency-name: cachetools dependency-version: 7.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [specifications/json-ld-api](https://github.com/w3c/json-ld-api) from `92f0770` to `5551473`. - [Commits](w3c/json-ld-api@92f0770...5551473) --- updated-dependencies: - dependency-name: specifications/json-ld-api dependency-version: 55514738d854e56bb8bad4c53cda2f0e23be4a50 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
…a path Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
… a path Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
…its query or fragment Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
… query tests Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
remove_dot_segments() added the empty last segment after a final '/.'
or '/..' only at the very end of the string, so it dropped the '/' when
a '?' or '#' followed: '/abc/def/./ghi/../..#abc' gave '/abc#abc'
instead of '/abc/#abc' (RFC 3986, section 5.2.4). resolve() worked
around this for relative paths only, so absolute IRIs and network-path
references still lost the '/' ('http://abc/def/.?x' gave
'http://abc/def?x').
Add the empty last segment whenever the dot segment is not followed by
another '/'. This is the same fix as relative-to-absolute-iri.js#33.
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
resolve() split the reference at its first '?' or '#' so that remove_dot_segments() would not drop the '/' of a final dot segment. remove_dot_segments() now keeps it, so the split is no longer needed. This changes no result. Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Since the query of the base IRI is dropped before the scheme check, a base IRI such as 'def?x:y' has no scheme left and raises a ValueError for a path reference, as a base IRI without any ':' does. Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
The fix now lives in remove_dot_segments(), so it applies to every reference, including absolute IRIs and network-path references. Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
…ive IRI Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
…ative Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
…gments Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
…elog entry Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
'//h/a:b/.?q' against 'http://x/' and 'z/a:b/.?' against 'urn:x' lost the '/' of the final dot segment on this branch before it built on pyld#372, the same regression that relative-to-absolute-iri.js#34 had. Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
After the scheme check, value_colon_pos was always -1, so pass -1 to remove_dot_segments_of_path() directly. Find the start of the path with one find() and a check for '?' or '#' before it, and document colon_position as the ':' that ends the scheme, or -1. This changes no result. It matches relative-to-absolute-iri.js#34. Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
…s does Port the two cases of relative-to-absolute-iri.js#33 and digitalbazaar#34 that had no twin here: '/a:b/../c' against 'http://base.org' and 'x/./y:z' against 'tag:example'. Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Without a base IRI, such a reference is still returned unchanged, as in relative-to-absolute-iri.js. Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Co-authored-by: Miel Vander Sande <miel.vandersande@meemoo.be>
Co-authored-by: Miel Vander Sande <miel.vandersande@meemoo.be>
Bumps [cachetools](https://github.com/tkem/cachetools) from 7.3.0 to 7.3.2. - [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst) - [Commits](tkem/cachetools@v7.3.0...v7.3.2) --- updated-dependencies: - dependency-name: cachetools dependency-version: 7.3.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.17.4 to 0.17.5. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.17.4...0.17.5) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.17.5 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [specifications/json-ld-api](https://github.com/w3c/json-ld-api) from `5551473` to `a1732db`. - [Commits](w3c/json-ld-api@5551473...a1732db) --- updated-dependencies: - dependency-name: specifications/json-ld-api dependency-version: a1732db52b10222a7c39e79dc93b12f3b873ebfd dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [specifications/rdf-canon](https://github.com/w3c/rdf-canon) from `15619df` to `5ffaaa1`. - [Commits](w3c/rdf-canon@15619df...5ffaaa1) --- updated-dependencies: - dependency-name: specifications/rdf-canon dependency-version: 5ffaaa13c0e19a2a2f9e60d0ecd9efaf3edab633 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirror of digitalbazaar#389, which has the description, the reproducer and the review.