GetURL() on IOS in UE4 and early UE5

Hi Dear Epic & every UE developer:

I notice that in latest UE4 and early UE5 (before UE5.4) version, when try to get URL from http response on apple platform, I can only get query part rather than complete URL.

FString FAppleHttpResponse::GetURL() const { UE_LOG(LogHttp, Verbose, TEXT("FAppleHttpResponse::GetURL()")); return FString(Request.Request.URL.query); }However, in most platforms, I can get the complete URL string through GetURL() function, which causes return values of GetURL() are different between IOS and other platforms(like Android & Windows).

Thus, I wonder, why the implementation of GetURL() on IOS in UE4 is different? Or it’s just a bug?

TY

重现步骤
When use http request in ios platform, the GetURL method of response only return ​query part of URL.

Hi Tianyi,

This was likely a bug at the time that was addressed in drive by the wider refactoring that happed at CL https://github.com/EpicGames/UnrealEngine/commit/7364727d68d96a27f81a2ee1968b6ad5309a73b7\.

Best regards/