Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS over HTTP: Fix "validate" argument #911

Merged
merged 1 commit into from
Nov 27, 2019
Merged

Conversation

Mirclus
Copy link
Contributor

@Mirclus Mirclus commented Nov 25, 2019

This argument sets the "cd" parameter on the request.
For both included providers, this flag disables validation ([1], [2]), so doing the exact opposite of the described action.

This changes the label to the correct name and also flips the default value to keep the old behavior.

[1] Google https://developers.google.com/speed/public-dns/docs/doh/json#supported_parameters
[2] Cloudflare https://developers.cloudflare.com/1.1.1.1/dns-over-https/json-format/

The argument sets the "cd" parameter on the request.
For both included providers, this flag disables validation ([1], [2]),
so doing the exact opposite of the described action.

This changes the label to the correct name and also flips the default
value to keep the old behavior.

[1] Google
<https://developers.google.com/speed/public-dns/docs/doh/json#supported_parameters>
[2] Cloudflare
<https://developers.cloudflare.com/1.1.1.1/dns-over-https/json-format/>
@CLAassistant
Copy link

CLAassistant commented Nov 25, 2019

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants