| 12806 | } |
| 12807 | |
| 12808 | bool url::set_password(const std::string_view input) { |
| 12809 | if (cannot_have_credentials_or_port()) { |
| 12810 | return false; |
| 12811 | } |
| 12812 | password = ada::unicode::percent_encode( |
| 12813 | input, character_sets::USERINFO_PERCENT_ENCODE); |
| 12814 | return true; |
| 12815 | } |
| 12816 | |
| 12817 | bool url::set_port(const std::string_view input) { |
| 12818 | if (cannot_have_credentials_or_port()) { |
no test coverage detected