| 285 | } |
| 286 | |
| 287 | tl::expected<std::string, errors> url_pattern_init::process_password( |
| 288 | std::string_view value, process_type type) { |
| 289 | // If type is "pattern" then return value. |
| 290 | if (type == process_type::pattern) { |
| 291 | return std::string(value); |
| 292 | } |
| 293 | // Return the result of running canonicalize a password given value. |
| 294 | return url_pattern_helpers::canonicalize_password(value); |
| 295 | } |
| 296 | |
| 297 | tl::expected<std::string, errors> url_pattern_init::process_hostname( |
| 298 | std::string_view value, process_type type) { |
nothing calls this directly
no test coverage detected