Developer Notes

This issue has been closed as 'Won't Fix' due to an extended period of time without updates. If this issue is important to you please let us know by posting on the AnswerHub or UDN, and Epic will re-open the ticket for further review.

Description

Code for this function below:

bool FOnlineExternalUISteam::ShowWebURL(const FString& WebURL)
 {
     if (!WebURL.StartsWith(TEXT("https://")))
     {
         SteamFriends()->ActivateGameOverlayToWebPage(TCHAR_TO_UTF8(*FString::Printf(TEXT("https://%s"), *WebURL)));
     }
     else
     {
         SteamFriends()->ActivateGameOverlayToWebPage(TCHAR_TO_UTF8(*WebURL));
     }
     
     return true;
 }

The first "If" statement does not check for the http:// protocol and will result in adding a https:// before any URLs that begin with [Link Removed].

Steps to Reproduce

1. Pass a FString into the ShowWebURL function that starts with "http://"
2. Check the output String from ActivateGameOverlayToWebPage
Result: The string now starts with "https://http://"
Expected: The function should detect the http:// and leave it as it was.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Won't Fix
ComponentUE - Networking
Affects Versions4.104.13
CreatedDec 17, 2015
ResolvedMar 14, 2017
UpdatedMar 14, 2017
View Jira Issue