The CanLaunchURL() function seems like it would check the provided URL to make sure it is valid. The comment for the function in GenericPlatformProcess.h appears to imply that this is what the function does: "Checks if the platform can launch a uniform resource locator (i.e. [Link Removed])."
Currently the function will return true regardless of whether the URL is valid, or even if random text is passed in (not a URL). The implementation appears to be the same for Mac and Linux as well.
RESULT:
The function simply checks to make sure the value that was passed in is not a nullptr.
EXPECTED:
The function verifies that a valid URL was provided.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-54069 in the post.
0 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.17.2, 4.18.2, 4.20 |
Created | Jan 15, 2018 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |