| 267 | ERROR |
| 268 | }; |
| 269 | bool EqualNoCase(TStringBuf a, TStringBuf b) { |
| 270 | return (a.size() == b.size()) && ToString(a).to_lower() == ToString(b).to_lower(); |
| 271 | } |
| 272 | bool MatchDomainName(TStringBuf tmpl, TStringBuf name) { |
| 273 | // match wildcards only in the left-most part |
| 274 | // do not support (optional according to RFC) partial wildcards (ww*.yandex.ru) |
no test coverage detected