]> granicus.if.org Git - curl/commit
doh: allow only http and https in debug mode
authorPaul Dreik <github@pauldreik.se>
Mon, 23 Sep 2019 11:11:49 +0000 (13:11 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 23 Sep 2019 20:38:23 +0000 (22:38 +0200)
commita5bf6a36c53fd860c1e9ef92e60ec08a4ad8f8e7
tree3549474be06c4bdd581bcbd5e78d9340982c647f
parentbb7420180497f6087cd2d894253beb2532a0569e
doh: allow only http and https in debug mode

Otherwise curl may be told to use for instance pop3 to
communicate with the doh server, which most likely
is not what you want.

Found through fuzzing.

Closes #4406
lib/doh.c