mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
[PR #357] [MERGED] Avoid resolving paths on fragments #518
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/357
Author: @holzensp
Created: 3/22/2024
Status: ✅ Merged
Merged: 3/26/2024
Merged by: @bioball
Base:
main← Head:pholzenspies/docPackageUriFix📝 Commits (1)
bfb053fAvoid resolving paths on fragments📊 Changes
5 files changed (+5 additions, -5 deletions)
View changed files
📝
pkl-doc/src/main/kotlin/org/pkl/doc/DocPackageInfo.kt(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/localhost:0/birds/0.5.0/Bird/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/localhost:0/birds/0.5.0/allFruit/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/localhost:0/birds/0.5.0/catalog/index.html(+1 -1)📝
pkl-doc/src/test/files/DocGeneratorTest/output/localhost:0/fruit/1.1.0/Fruit/index.html(+1 -1)📄 Description
The more principled solution is to have
importUribe aURIinstead of aStringand to test its scheme.Generally, the problem is that
URI::resolvecan not assume fragments to be a path (and that it discards fragments altogether).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.