mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 06:09:08 +00:00
LibURL+LibWeb: Do not percent decode in password/username getters
Doing it is not part of the spec. Whenever needed, the spec will explicitly percent decode the username and password. This fixes some URL WPT tests.
This commit is contained in:
parent
a10610a1ca
commit
f511c0b441
Notes:
github-actions[bot]
2024-08-04 11:59:57 +00:00
Author: https://github.com/shannonbooth
Commit: f511c0b441
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/954
Reviewed-by: https://github.com/kennethmyhra ✅
Reviewed-by: https://github.com/tcl3 ✅
14 changed files with 62 additions and 45 deletions
|
@ -40,10 +40,10 @@ public:
|
|||
WebIDL::ExceptionOr<String> protocol() const;
|
||||
WebIDL::ExceptionOr<void> set_protocol(String const&);
|
||||
|
||||
WebIDL::ExceptionOr<String> username() const;
|
||||
String const& username() const;
|
||||
void set_username(String const&);
|
||||
|
||||
WebIDL::ExceptionOr<String> password() const;
|
||||
String const& password() const;
|
||||
void set_password(String const&);
|
||||
|
||||
WebIDL::ExceptionOr<String> host() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue