From a0e6054eb87e5516cffac2882f023e2bf173e824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Tue, 27 Dec 2022 16:33:51 +0100 Subject: [PATCH] parsers: Update IETF URLs in documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sed -i -e 's/tools\.ietf\.org\/html/www\.rfc-editor\.org\/rfc/' src/**.rs Signed-off-by: Maxime “pep” Buquet --- parsers/src/hashes.rs | 10 +++++----- parsers/src/jingle.rs | 4 ++-- parsers/src/sasl.rs | 2 +- parsers/src/stanza_error.rs | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/parsers/src/hashes.rs b/parsers/src/hashes.rs index d4a260ec..80acc401 100644 --- a/parsers/src/hashes.rs +++ b/parsers/src/hashes.rs @@ -17,17 +17,17 @@ use std::str::FromStr; pub enum Algo { /// The Secure Hash Algorithm 1, with known vulnerabilities, do not use it. /// - /// See + /// See Sha_1, /// The Secure Hash Algorithm 2, in its 256-bit version. /// - /// See + /// See Sha_256, /// The Secure Hash Algorithm 2, in its 512-bit version. /// - /// See + /// See Sha_512, /// The Secure Hash Algorithm 3, based on Keccak, in its 256-bit version. @@ -42,12 +42,12 @@ pub enum Algo { /// The BLAKE2 hash algorithm, for a 256-bit output. /// - /// See + /// See Blake2b_256, /// The BLAKE2 hash algorithm, for a 512-bit output. /// - /// See + /// See Blake2b_512, /// An unknown hash not in this list, you can probably reject it. diff --git a/parsers/src/jingle.rs b/parsers/src/jingle.rs index 6a9a2c80..c1a0f889 100644 --- a/parsers/src/jingle.rs +++ b/parsers/src/jingle.rs @@ -131,14 +131,14 @@ generate_attribute!( RecipientListHistory => "recipient-list-history", /// The body describes a communications session, for example, an - /// [RFC2327](https://tools.ietf.org/html/rfc2327) SDP body. + /// [RFC2327](https://www.rfc-editor.org/rfc/rfc2327) SDP body. Session => "session", /// Authenticated Identity Body. Aib => "aib", /// The body describes an early communications session, for example, - /// and [RFC2327](https://tools.ietf.org/html/rfc2327) SDP body. + /// and [RFC2327](https://www.rfc-editor.org/rfc/rfc2327) SDP body. EarlySession => "early-session", /// The body includes a list of URIs to which URI-list services are to diff --git a/parsers/src/sasl.rs b/parsers/src/sasl.rs index 9f2ca9c2..b8b46e9f 100644 --- a/parsers/src/sasl.rs +++ b/parsers/src/sasl.rs @@ -22,7 +22,7 @@ generate_attribute!( /// client and the server to avoid having to store the password in /// clear. /// - /// See + /// See ScramSha1 => "SCRAM-SHA-1", /// Same as [ScramSha1](#structfield.ScramSha1), with the addition of diff --git a/parsers/src/stanza_error.rs b/parsers/src/stanza_error.rs index 3afd678b..ccf3db77 100644 --- a/parsers/src/stanza_error.rs +++ b/parsers/src/stanza_error.rs @@ -71,7 +71,7 @@ generate_element_enum!( /// data of the \ element (which MUST be a Uniform Resource /// Identifier (URI) or Internationalized Resource Identifier (IRI) at /// which the entity can be contacted, typically an XMPP IRI as - /// specified in [XMPP‑URI](https://tools.ietf.org/html/rfc5122)). + /// specified in [XMPP‑URI](https://www.rfc-editor.org/rfc/rfc5122)). Gone => "gone", /// The server has experienced a misconfiguration or other internal