This fixes an issue where URLs with schemes that contain +, -, and . would not be parsed correctly.
For example, foo+bar:///?baz.pkl would turn into foo+bar:///%3Fbaz.pkl. The query param is lost, and turned into the path.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/apple/pkl/pull/1335
**Author:** [@bioball](https://github.com/bioball)
**Created:** 12/2/2025
**Status:** ✅ Merged
**Merged:** 12/3/2025
**Merged by:** [@bioball](https://github.com/bioball)
**Base:** `main` ← **Head:** `fix-uri-parsing`
---
### 📝 Commits (3)
- [`c408c82`](https://github.com/apple/pkl/commit/c408c82183b74829dce35a8dfb70338efed6f056) Fix parsing of URLs with plus signs
- [`294ff46`](https://github.com/apple/pkl/commit/294ff467f1f8e5203b6bb8892adecc402503ce1d) Update release notes
- [`7946d1d`](https://github.com/apple/pkl/commit/7946d1d43066f692e544d30397cbdbe1650e7256) Undo changelog change
### 📊 Changes
**3 files changed** (+10 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `pkl-core/src/main/java/org/pkl/core/util/IoUtils.java` (+1 -1)
📝 `pkl-core/src/test/files/LanguageSnippetTests/input/api/Resource.pkl` (+6 -0)
📝 `pkl-core/src/test/files/LanguageSnippetTests/output/api/Resource.pcf` (+3 -0)
</details>
### 📄 Description
This fixes an issue where URLs with schemes that contain `+`, `-`, and `.` would not be parsed correctly.
For example, `foo+bar:///?baz.pkl` would turn into `foo+bar:///%3Fbaz.pkl`. The query param is lost, and turned into the path.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1335
Author: @bioball
Created: 12/2/2025
Status: ✅ Merged
Merged: 12/3/2025
Merged by: @bioball
Base:
main← Head:fix-uri-parsing📝 Commits (3)
c408c82Fix parsing of URLs with plus signs294ff46Update release notes7946d1dUndo changelog change📊 Changes
3 files changed (+10 additions, -1 deletions)
View changed files
📝
pkl-core/src/main/java/org/pkl/core/util/IoUtils.java(+1 -1)📝
pkl-core/src/test/files/LanguageSnippetTests/input/api/Resource.pkl(+6 -0)📝
pkl-core/src/test/files/LanguageSnippetTests/output/api/Resource.pcf(+3 -0)📄 Description
This fixes an issue where URLs with schemes that contain
+,-, and.would not be parsed correctly.For example,
foo+bar:///?baz.pklwould turn intofoo+bar:///%3Fbaz.pkl. The query param is lost, and turned into the path.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.