summaryrefslogtreecommitdiff
path: root/Base/usr
diff options
context:
space:
mode:
authorkleines Filmröllchen <malu.bertsch@gmail.com>2022-01-10 22:56:28 +0100
committerLinus Groh <mail@linusgroh.de>2022-01-11 00:24:57 +0100
commit984bae9038da9a1b20b185260553db762f6ec035 (patch)
tree6bcecf72c69a56d0cb6e41706b7e46172e62b2d9 /Base/usr
parent6c10e9e121b6f297ebcbe52c3a80fa4c74aa6175 (diff)
downloadserenity-984bae9038da9a1b20b185260553db762f6ec035.zip
Help: Refactor link handling
Link handling is now split up between open_page and open_url. While open_page can handle any sort of input and is responsible for handling history UI, open_url deals in URLs and takes one of a few different actions depending on the exact URL given. Currently, only file:// URLs are handled but this will change in the next few commits. Note that this commit breaks relative URLs on purpose. After the new help:// URLs, they won't be needed anyways. The reasoning is that many URLs not specifically pointing to man page directories will cause a (non-deadly) unveil violation in `real_path_for`. This specifically concerns the new application launch URLs that are added in the next commit.
Diffstat (limited to 'Base/usr')
0 files changed, 0 insertions, 0 deletions