Fix empty query handling in HttpUriParse #764
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!764
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/764/head"
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?
@ElijaOwO on GitHub · 2026-09-22 09:00 UTC · original
ElijaOwO:fix-http-uri-parse-empty-query→main· +149 −3 · 3 files · 4 commits · merged 2026-09-27 12:07 UTCHttpUriParse atm leaves query null when the URI has no query component.
Now it returns a pool-backed "" instead.
Also added regression coverage for URIs with/without query components + pool sizing.
Tests:
http_uri_parse_tests
kyty_emulator build
@coderabbitai[bot] on GitHub · 2026-09-22 09:06 UTC · original · edited 2026-09-22 16:49 UTC
Navigate logical layers of code changes, visualize relationships, and explore their blast radius.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
0a08a864-2f4d-491a-8481-7365dc3bedc0📥 Commits
Reviewing files that changed from the base of the PR and between
429d2452f6and7db1cbecd4.📒 Files selected for processing (2)
src/libs/libNet.cpptests/HttpUriParseTests.cppIncluded review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
Walkthrough
HttpUriParsenow allocates and initializes an empty query string when the URL has no query. The required pool size includes this string. A new ABI-aware test validates URLs with and without queries, including pool-backed output and"?foo=bar"preservation. CMake builds, registers, and aggregates the new test.Suggested reviewers:
nmzikPriority: ⬇️ Low
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
7db1cURIs without queries now consistently return an empty query value, including empty URIs, with matching pool sizing.
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Comment
@coderabbitai helpto get the list of available commands.@coderabbitai[bot] on GitHub · 2026-09-22 09:06 UTC · original · reviewed
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
e45894bd-994e-46fe-8a5e-8d8c3c5205e8📥 Commits
Reviewing files that changed from the base of the PR and between
8b095caefeand429d2452f6.📒 Files selected for processing (3)
CMakeLists.txtsrc/libs/libNet.cpptests/HttpUriParseTests.cppIncluded review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
@Nmzik on GitHub · 2026-09-25 22:01 UTC · original · edited 2026-09-25 22:04 UTC
@ElijaOwO which game passes such params? Is it based on real ps5 runtime behaviour? We try not to implement speculative behavior
@ElijaOwO on GitHub · 2026-09-26 18:14 UTC · original
@Nmzik Hey, The last of us Part 1. Based on emulator crash while booting up the game. Had some other fixes to get the first like 10 frames but they are not nearly fininshed so i thought i should publish some finished stuff.
@ElijaOwO on GitHub · 2026-09-26 18:17 UTC · original
Actually looked up the code again and thought wtf i was doing but after a close lookup its actually fine XD
If u need anything write me
@Nmzik on GitHub · 2026-09-27 12:04 UTC · original
@ElijaOwO All good! :) Next time, please mention the game you’re trying to push fixes for. Thanks for the quick response! Approved