mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
fixed uriparse
This commit is contained in:
parent
1e334534df
commit
4b26c7459b
@ -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 == '/') {
|
||||||
|
Loading…
Reference in New Issue
Block a user