mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:47:35 +00:00
LibFileSystem+Userland: Return ByteString from real_path()
This commit is contained in:
parent
cdf17efb9a
commit
56c5ffe398
25 changed files with 44 additions and 40 deletions
|
@ -88,7 +88,7 @@ Optional<URL> sanitize_url(StringView url, Optional<StringView> search_engine, A
|
|||
if (path.is_error())
|
||||
return {};
|
||||
|
||||
return URL::create_with_file_scheme(path.value().to_byte_string());
|
||||
return URL::create_with_file_scheme(path.value());
|
||||
}
|
||||
|
||||
auto format_search_engine = [&]() -> Optional<URL> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue