fixed uriparse

This commit is contained in:
georgemoralis 2025-03-02 18:56:59 +02:00
parent 1e334534df
commit 4b26c7459b

View File

@ -681,7 +681,7 @@ int PS4_SYSV_ABI sceHttpUriParse(OrbisHttpUriElement* out, const char* srcUri, v
} }
// Handle non-file schemes (e.g., "http", "https") // Handle non-file schemes (e.g., "http", "https")
if (out && !out->opaque) { else {
// Parse the host and port // Parse the host and port
char* hostStart = (char*)srcUri + offset; char* hostStart = (char*)srcUri + offset;
while (*hostStart == '/') { while (*hostStart == '/') {