diff options
author | Max Wipfli <mail@maxwipfli.ch> | 2021-05-29 21:57:20 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-01 09:28:05 +0200 |
commit | 5caaa52bee16b4016cfee5ae0a78292c5c0987d5 (patch) | |
tree | 3a340d8c6744b7612b6a57dd0f403ccd16410f32 /Userland/Libraries | |
parent | ce80188d6f0dc2c89584ab31200d1047abc7d874 (diff) | |
download | serenity-5caaa52bee16b4016cfee5ae0a78292c5c0987d5.zip |
AK: Add hostname parameter to URL::create_with_file_scheme()
This adds a hostname parameter as the third parameter to
URL::create_with_file_scheme(). If the hostname is "localhost", it will
be ignored (as per the URL specification).
This can for example be used by ls(1) to create more conforming file
URLs.
Diffstat (limited to 'Userland/Libraries')
0 files changed, 0 insertions, 0 deletions