| 16685 | } |
| 16686 | |
| 16687 | std::string process_base_url_string(std::string_view input, |
| 16688 | url_pattern_init::process_type type) { |
| 16689 | // If type is not "pattern" return input. |
| 16690 | if (type != url_pattern_init::process_type::pattern) { |
| 16691 | return std::string(input); |
| 16692 | } |
| 16693 | // Return the result of escaping a pattern string given input. |
| 16694 | return escape_pattern_string(input); |
| 16695 | } |
| 16696 | |
| 16697 | constexpr bool is_absolute_pathname( |
| 16698 | std::string_view input, url_pattern_init::process_type type) noexcept { |
no test coverage detected