mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 23:57:25 +00:00
AK: Port URL scheme from DeprecatedString to String
This commit is contained in:
committed by
Andrew Kaster
parent
21fe86d235
commit
c25485700a
@@ -42,7 +42,7 @@ Messages::RequestServer::StartRequestResponse ConnectionFromClient::start_reques
|
||||
dbgln("StartRequest: Invalid URL requested: '{}'", url);
|
||||
return { -1, Optional<IPC::File> {} };
|
||||
}
|
||||
auto* protocol = Protocol::find_by_name(url.scheme());
|
||||
auto* protocol = Protocol::find_by_name(url.scheme().to_deprecated_string());
|
||||
if (!protocol) {
|
||||
dbgln("StartRequest: No protocol handler for URL: '{}'", url);
|
||||
return { -1, Optional<IPC::File> {} };
|
||||
|
||||
Reference in New Issue
Block a user