Skip to content
Snippets Groups Projects
Commit e280a162 authored by Oto Šťáva's avatar Oto Šťáva
Browse files

daemon/http: improve URI checks

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.
parent 85455921
Branches
Tags
2 merge requests!1327Update manager branch with the newest changes from master,!1311daemon/http: improve URI checks
Pipeline #100806 failed with stages
in 2 hours, 48 minutes, and 1 second
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment