mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 09:18:55 +00:00
AK: Port URL scheme from DeprecatedString to String
This commit is contained in:
parent
21fe86d235
commit
c25485700a
Notes:
sideshowbarker
2024-07-17 01:51:00 +09:00
Author: https://github.com/shannonbooth
Commit: c25485700a
Pull-request: https://github.com/SerenityOS/serenity/pull/20510
Reviewed-by: https://github.com/ADKaster ✅
16 changed files with 30 additions and 30 deletions
|
@ -17,7 +17,7 @@ bool ConnectionInfo::is_secure() const
|
|||
{
|
||||
// RFC 6455 Section 3 :
|
||||
// The URI is called "secure" if the scheme component matches "wss" case-insensitively.
|
||||
return m_url.scheme().equals_ignoring_ascii_case("wss"sv);
|
||||
return m_url.scheme().bytes_as_string_view().equals_ignoring_ascii_case("wss"sv);
|
||||
}
|
||||
|
||||
DeprecatedString ConnectionInfo::resource_name() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue