mirror of
https://github.com/lowbit/ps5-doom.git
synced 2026-10-06 10:00:25 +02:00
A short link to a folder could not be imported: the listing's relative links were resolved against the typed address instead of the one the redirect ended at. plat_http_get now reports the final address. The PS5 backend follows Location headers itself, since sceHttp's automatic redirects do not say where they land; the PC backend asks libcurl. The importer resolves listings against that address and sends later range requests straight to it. The URL helpers move from the launcher's listing code to src/platform/url.c so the PS5 backend can resolve Location headers with them, and the upload server reuses url_file_name for file names.