Skip to content
Snippets Groups Projects
  • Oto Šťáva's avatar
    daemon/http: improve URI checks · e280a162
    Oto Šťáva authored
    The `check_uri()` function now only checks that the endpoint is either
    `/doh` or `/dns-query`. Parameter checks were moved into
    `process_uri_path()` so that the check only takes place for GET
    requests. POST requests now do not care about parameters at all.
    e280a162