github.com/lulzWill/go-agent@v2.1.2+incompatible/internal/crossagent/cross_agent_tests/url_domain_extraction.json (about)

     1  [
     2    {"expected":"domain",    "input":"scheme://domain:port/path?query_string#fragment_id"},
     3    {"expected":"0.0.0.0",   "input":"scheme://0.0.0.0:port/path?query_string#fragment_id"},
     4    {"expected":"localhost", "input":"scheme://localhost:port/path?query_string#fragment_id"},
     5    {"expected":"127.0.0.1", "input":"scheme://127.0.0.1:port/path?query_string#fragment_id"},
     6  
     7    {"expected":"0.0.0.0",   "input":"scheme://0.0.0.0:8087/path?query_string#fragment_id"},
     8    {"expected":"localhost", "input":"scheme://localhost:8087/path?query_string#fragment_id"},
     9    {"expected":"127.0.0.1", "input":"scheme://127.0.0.1:8087/path?query_string#fragment_id"},
    10  
    11    {"expected":"a.b", "input":"a.b"},
    12    {"expected":"a.b", "input":"user@a.b"},
    13    {"expected":"a.b", "input":"user:pass@a.b"},
    14    {"expected":"a.b", "input":"a.b:123"},
    15    {"expected":"a.b", "input":"user@a.b:123"},
    16    {"expected":"a.b", "input":"user:pass@a.b:123"},
    17    {"expected":"a.b", "input":"a.b/c/d?e=f"},
    18    {"expected":"a.b", "input":"user@a.b/c/d?e=f"},
    19    {"expected":"a.b", "input":"user:pass@a.b/c/d?e=f"},
    20    {"expected":"a.b", "input":"a.b:123/c/d?e=f"},
    21    {"expected":"a.b", "input":"user@a.b:123/c/d?e=f"},
    22    {"expected":"a.b", "input":"user:pass@a.b:123/c/d?e=f"},
    23    {"expected":"a.b", "input":"p://a.b"},
    24    {"expected":"a.b", "input":"p://user@a.b"},
    25    {"expected":"a.b", "input":"p://user:pass@a.b"},
    26    {"expected":"a.b", "input":"p://a.b:123"},
    27    {"expected":"a.b", "input":"p://user@a.b:123"},
    28    {"expected":"a.b", "input":"p://user:pass@a.b:123"},
    29    {"expected":"a.b", "input":"p://a.b/c/d?e=f"},
    30    {"expected":"a.b", "input":"p://user@a.b/c/d?e=f"},
    31    {"expected":"a.b", "input":"p://user:pass@a.b/c/d?e=f"},
    32    {"expected":"a.b", "input":"p://a.b:123/c/d?e=f"},
    33    {"expected":"a.b", "input":"p://user@a.b:123/c/d?e=f"},
    34    {"expected":"a.b", "input":"p://user:pass@a.b:123/c/d?e=f"}
    35  ]