]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45441: Update some moved URLs in documentation (GH-28861)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 12 Oct 2021 14:20:50 +0000 (07:20 -0700)
committerGitHub <noreply@github.com>
Tue, 12 Oct 2021 14:20:50 +0000 (07:20 -0700)
(cherry picked from commit b37dc9b3bc9575adc039c6093c643b7ae5e917e1)

Co-authored-by: 180909 <wjh180909@gmail.com>
Doc/library/hashlib.rst
Doc/library/html.entities.rst
Doc/library/http.cookiejar.rst
Doc/library/json.rst

index f3e942b8af22215e01bded04bf9911e0cc5bdf98..58ccbbedb2c63b3e1f954c3d85a956b8b7d755d6 100644 (file)
@@ -496,7 +496,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 9ac5d52a2ab09c722b014d711e2c20ebff1d401c..fb113d89e97535438ee750d7cbd6b47de264300a 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.