Skip to content
Snippets Groups Projects

daemon/http: improve URI checks

Merged Oto Šťáva requested to merge doh2-uri-check-fix into master
All threads resolved!

Fixes #746 (closed)

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.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply