diff options
author | Daniel Ting <danielzting@gmail.com> | 2020-07-03 23:00:48 -0500 |
---|---|---|
committer | Daniel Ting <danielzting@gmail.com> | 2020-07-03 23:00:48 -0500 |
commit | b8e6ff9a7fb2eb98e92344d567a1ef085dfb78a4 (patch) | |
tree | b61ab2d27ec1e7f3636d3b6ec749bbfd7689907a /icon.svg | |
parent | b51418842ae684ea201247c6df32092d784e6db0 (diff) |
Fix opening URLS with special characters in macOS
The Online Tutorials section of InputMap in the editor's built-in
documentation viewer contains this link:
docs.godotengine.org/en/latest/tutorials/inputs/inputevent.html#inputmap
The macOS implementation for opening a link percent-encodes it before
sending it to the browser, resulting in a 404. This is to fix #13422
where filenames with special characters could not be opened in Finder.
However, this breaks URLS so I added a check to see if the resource
scheme is file:// and if so, only then is it escaped. This allows other
schemes like `http`, `ftp`, and `mailto` to be used.
Diffstat (limited to 'icon.svg')
0 files changed, 0 insertions, 0 deletions