Unity Issue Tracker - Application.OpenURL does not work on macOS when the URL contains curly braces
Closed
UUM-113716
Application.OpenURL does not work on macOS when the URL contains curly braces
Unity: MacOS
As Designed
6.3.X
6.2.X
6.0.X
URL passed to this function has to be valid, Unity does no sanitization for it.
Curly braces are not valid and have to be escaped.
More info: https://stackoverflow.com/questions/1547899/which-characters-make-a-url-invalid
How to reproduce:
1. Open the “Application.OpenURL bug report.zip“ project
2. Open the “scene“ Scene
3. Enter Play Mode and observe
Expected result: A web browser opens with the link “http://example.com/%7B%7D” in the search bar
Actual result: A web browser does not open