Skip to content

Commit

Permalink
Use 'https' instead of 'http' for dnspython.org (#883)
Browse files Browse the repository at this point in the history
These days, 'https' should be used instead of 'http' for almost
anything, and Coverity is warning that dnspython.org URL in 'setup.cfg'
uses 'http'.

This patch changes the use of 'http' to 'https' on setup.cfg and
documentation, where it does not affect module code, tests or examples.

(cherry picked from commit 24f0687)
  • Loading branch information
rjeffman authored and rthalley committed Jan 13, 2023
1 parent ba069ce commit 6b5c063
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dns/name.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def __init__(
*uts_46* is a ``bool``. If True, apply Unicode IDNA
compatibility processing as described in Unicode Technical
Standard #46 (http://unicode.org/reports/tr46/).
Standard #46 (https://unicode.org/reports/tr46/).
If False, do not apply the mapping. The default is False.
*transitional* is a ``bool``: If True, use the
Expand Down
6 changes: 3 additions & 3 deletions doc/community.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ Bugs and feature requests can be made using the github issues system at
Mailing Lists
-------------

| `dnspython-announce <http://groups.google.com/group/dnspython-announce>`_
| `dnspython-users <http://groups.google.com/group/dnspython-users>`_
| `dnspython-dev <http://groups.google.com/group/dnspython-dev>`_
| `dnspython-announce <https://groups.google.com/group/dnspython-announce>`_
| `dnspython-users <https://groups.google.com/group/dnspython-users>`_
| `dnspython-dev <https://groups.google.com/group/dnspython-dev>`_
2 changes: 1 addition & 1 deletion doc/name-codecs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ widely used, and the revised and not fully compatible standard "IDNA
2008". There are also varying degrees of strictness that can be applied
in encoding and decoding. Explaining the standards in detail is
out of scope for this document; Unicode Technical Standard #46
http://unicode.org/reports/tr46/ is a good place to start learning more.
https://unicode.org/reports/tr46/ is a good place to start learning more.

Dnspython provides "codecs" to implement International Domain Name policy
according to the user's desire.
Expand Down
4 changes: 2 additions & 2 deletions doc/rfc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ list because there are many DNSSEC related RFCs and it's helpful to group
them together. It's not a statement that DNSSEC isn't part of the "Core"
of the DNS.

The IANA `DNS Parameters <http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml>`_ registry is the official reference site for all DNS
The IANA `DNS Parameters <https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml>`_ registry is the official reference site for all DNS
constants.


Expand Down Expand Up @@ -128,7 +128,7 @@ listed it means it is obsolete, deprecated, or rare "in the wild".
Some types that are currently rare are listed because they may
well be more heavily used in the not-to-distant future.
See the
IANA `DNS Parameters <http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml>`_ registry for a complete list.
IANA `DNS Parameters <https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml>`_ registry for a complete list.

A
`RFC 1035 <https://tools.ietf.org/html/rfc1035>`_
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ author_email = halley@dnspython.org
license = ISC
license_file = LICENSE
description = DNS toolkit
url = http://www.dnspython.org
url = https://www.dnspython.org
project_urls =
Bug Tracker = https://github.com/rthalley/dnspython/issues
Documentation = https://dnspython.readthedocs.io/en/stable/
Expand Down

0 comments on commit 6b5c063

Please sign in to comment.