HLE/media: block mixed-slash UNC, NT object, and backslash file: URL … #529
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/529"
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?
Imported from fxceless/victory-fork. Originally posted by pug205gti6 on 2026-11-25T02:00:15Z.
…bypasses
\/,/\,\\.\,//?/) and NT object namespace prefixes (\??\,/??/) inmedia::local(), allowing only verbatim drive paths (\\?\X:...).UNC\/UNC/prefix stripping when reporting the refused host.file:URLs and refuse backslash, extra-slash, percent-encoded UNC/NT, and drive-lesslocalhostSMB forms (file://\host\share,file:\\host\share,file:////host/share,file:///%5c%5chost/share,file://localhost/share) instead of falling through with the unmodified URL.Imported from fxceless/victory-fork. Originally posted by Revens2 on 2026-11-25T07:37:02Z.
Duplicate of #484: @AscilCH opened this patch 37 minutes earlier, and
gh pr diffreturns the same bytes for both (+143/-12 on 1 file(s), same title).Please continue in #484 so the review history and any test data stay in one place.
Thanks.
Imported from fxceless/victory-fork. Originally posted by Headache3318 on 2026-11-25T09:22:15Z.
Independent verification: PR #529 (actually HLE/media URL bypass fix) cherry-picks cleanly onto main (
8dd30ab), no conflicts. Build: success. Tests: compile successfully but cannot execute on this Linux machine (Windows test binary needs Wine/Proton, both timed out). Native Linux tests fail due to pre-existing victory-gpu/victory-loader build issues (E0425 host_resource) — not caused by this PR. Modifies only crates/victory-hle/src/modules/media.rs with 3 new unit tests. Machine: Arch Linux, kernel 7.3.5-arch1-1, 3x RTX 4090 driver 620.73.04, Proton, AI-assisted.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.