]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45441: Update some moved URLs in documentation (GH-28861)
author180909 <wjh180909@gmail.com>
Tue, 12 Oct 2021 10:36:14 +0000 (18:36 +0800)
committerGitHub <noreply@github.com>
Tue, 12 Oct 2021 10:36:14 +0000 (13:36 +0300)
Doc/library/hashlib.rst
Doc/library/html.entities.rst
Doc/library/http.cookiejar.rst
Doc/library/json.rst

index 77b35fd1d766c8fd558319edc148b26cceb0bd41..0c3bd7b5ac2c996d599e9a178b02f64a64050335 100644 (file)
@@ -500,7 +500,7 @@ Keyed hashing
 
 Keyed hashing can be used for authentication as a faster and simpler
 replacement for `Hash-based message authentication code
-<https://en.wikipedia.org/wiki/Hash-based_message_authentication_code>`_ (HMAC).
+<https://en.wikipedia.org/wiki/HMAC>`_ (HMAC).
 BLAKE2 can be securely used in prefix-MAC mode thanks to the
 indifferentiability property inherited from BLAKE.
 
index 067e1b1e5adb3e29887a21bd7ffc7848db007e71..7d836fe73802452ead906e2cabf2afcd033189d9 100644 (file)
@@ -44,4 +44,4 @@ This module defines four dictionaries, :data:`html5`,
 
 .. rubric:: Footnotes
 
-.. [#] See https://www.w3.org/TR/html5/syntax.html#named-character-references
+.. [#] See https://html.spec.whatwg.org/multipage/syntax.html#named-character-references
index 6234e65629ea08cfa526933d2a77765f8af1a6b1..3d59665be4f2540e281f3441cc507d1a821519f7 100644 (file)
@@ -122,7 +122,7 @@ The following classes are provided:
       :mod:`http.cookiejar` and :mod:`http.cookies` modules do not depend on each
       other.
 
-   https://curl.haxx.se/rfc/cookie_spec.html
+   https://curl.se/rfc/cookie_spec.html
       The specification of the original Netscape cookie protocol.  Though this is
       still the dominant protocol, the 'Netscape cookie protocol' implemented by all
       the major browsers (and :mod:`http.cookiejar`) only bears a passing resemblance to
index c8184da80fe43e1c20b7099f10ad9004c9e69ea6..6fa89f578a2cfd166026ecaaeb1c3f0f19bd4453 100644 (file)
@@ -11,9 +11,9 @@
 
 --------------
 
-`JSON (JavaScript Object Notation) <http://json.org>`_, specified by
+`JSON (JavaScript Object Notation) <https://json.org>`_, specified by
 :rfc:`7159` (which obsoletes :rfc:`4627`) and by
-`ECMA-404 <http://www.ecma-international.org/publications/standards/Ecma-404.htm>`_,
+`ECMA-404 <https://www.ecma-international.org/publications-and-standards/standards/ecma-404/>`_,
 is a lightweight data interchange format inspired by
 `JavaScript <https://en.wikipedia.org/wiki/JavaScript>`_ object literal syntax
 (although it is not a strict subset of JavaScript [#rfc-errata]_ ).
@@ -544,7 +544,7 @@ Standard Compliance and Interoperability
 ----------------------------------------
 
 The JSON format is specified by :rfc:`7159` and by
-`ECMA-404 <http://www.ecma-international.org/publications/standards/Ecma-404.htm>`_.
+`ECMA-404 <https://www.ecma-international.org/publications-and-standards/standards/ecma-404/>`_.
 This section details this module's level of compliance with the RFC.
 For simplicity, :class:`JSONEncoder` and :class:`JSONDecoder` subclasses, and
 parameters other than those explicitly mentioned, are not considered.