// A hand-written Public Suffix List, in publicsuffix.org's own file format, // used by tests/78-libpsl.test to exercise psl_load_file() -- the RUNTIME list // path, which is a different code path from the DAFSA compiled into the library // and is the one a consumer with its own list would take. // // It is deliberately tiny and deliberately NOT a subset of the real list: every // rule below is under .test (RFC 2606), so a wrong answer here can never be an // accident of the builtin data leaking in. // // The four rule kinds are one each, so a failure names its own cause: // plain mini.test // wildcard *.wild.test -- and implicitly makes wild.test a suffix too // exception !keep.wild.test -- carves one name back out of that wildcard // UTF-8 中国.test -- see below, this one is load-bearing // // THE UTF-8 RULE IS THE POINT. psl_load_fp() calls add_punycode_if_needed() on // every rule it reads and inserts the ACE/punycode form alongside the UTF-8 one, // using psl_idna_toASCII(). This image's libpsl is built with no runtime IDNA // library (PACKAGECONFIG = "" -- see libpsl_%.bbappend), so that call lands on // the punycode encoder libpsl carries in its own source for exactly this case. // Querying `xn--fiqs8s.test`, which appears NOWHERE in this file, therefore // answers correctly only if that encoder ran and produced it from 中国. // ===BEGIN ICANN DOMAINS=== mini.test *.wild.test !keep.wild.test 中国.test // ===END ICANN DOMAINS=== // ===BEGIN PRIVATE DOMAINS=== priv.mini.test // ===END PRIVATE DOMAINS===