commit 94a3ed7c6df8fb853f3ba7e485039645b7d0147d
parent c063432323f944d9cacc584b72d30dad0e95cb31
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date: Tue, 25 Aug 2026 10:42:33 +0200
Fixed RFC entries in doxy
Diffstat:
3 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h
@@ -7929,7 +7929,7 @@ enum MHD_FIXED_ENUM_MHD_SET_ MHD_DigestAuthUsernameType
,
/**
* The username is specified by 'username*' parameter with
- * the extended notation (see RFC 5987, section-3.2.1).
+ * the extended notation (see RFC 5987, section 3.2.1).
* The only difference between standard and extended types is
* the way how username value is encoded in the header.
*/
@@ -7937,7 +7937,7 @@ enum MHD_FIXED_ENUM_MHD_SET_ MHD_DigestAuthUsernameType
,
/**
* The username provided in form of 'userhash' as
- * specified by RFC 7616, section-3.4.4.
+ * specified by RFC 7616, section 3.4.4.
* @sa #MHD_digest_auth_calc_userhash_hex(), #MHD_digest_auth_calc_userhash()
*/
MHD_DIGEST_AUTH_UNAME_TYPE_USERHASH = (1u << 1)
@@ -8755,7 +8755,7 @@ MHD_STATIC_INLINE_END_
* with Basic Authentication "challenge" should be sent. This works as
* an indication that Basic Authentication should be used for the access.
*
- * See RFC 7617, section-2 for details.
+ * See RFC 7617, section 2 for details.
*
* @param response the reply to send; should contain the "access denied"
* body;
@@ -8804,7 +8804,7 @@ MHD_FN_PAR_NONNULL_ (2) MHD_FN_PAR_CSTR_ (2);
* with Basic Authentication "challenge" should be sent. This works as
* an indication that Basic Authentication should be used for the access.
*
- * See RFC 7617, section-2 for details.
+ * See RFC 7617, section 2 for details.
*
* @param request the request to create the action for
* @param realm the realm presented to the client
diff --git a/src/include/microhttpd2_main.h.in b/src/include/microhttpd2_main.h.in
@@ -2870,7 +2870,7 @@ enum MHD_FIXED_ENUM_MHD_SET_ MHD_DigestAuthUsernameType
,
/**
* The username is specified by 'username*' parameter with
- * the extended notation (see RFC 5987, section-3.2.1).
+ * the extended notation (see RFC 5987, section 3.2.1).
* The only difference between standard and extended types is
* the way how username value is encoded in the header.
*/
@@ -2878,7 +2878,7 @@ enum MHD_FIXED_ENUM_MHD_SET_ MHD_DigestAuthUsernameType
,
/**
* The username provided in form of 'userhash' as
- * specified by RFC 7616, section-3.4.4.
+ * specified by RFC 7616, section 3.4.4.
* @sa #MHD_digest_auth_calc_userhash_hex(), #MHD_digest_auth_calc_userhash()
*/
MHD_DIGEST_AUTH_UNAME_TYPE_USERHASH = (1u << 1)
@@ -3696,7 +3696,7 @@ MHD_STATIC_INLINE_END_
* with Basic Authentication "challenge" should be sent. This works as
* an indication that Basic Authentication should be used for the access.
*
- * See RFC 7617, section-2 for details.
+ * See RFC 7617, section 2 for details.
*
* @param response the reply to send; should contain the "access denied"
* body;
@@ -3745,7 +3745,7 @@ MHD_FN_PAR_NONNULL_ (2) MHD_FN_PAR_CSTR_ (2);
* with Basic Authentication "challenge" should be sent. This works as
* an indication that Basic Authentication should be used for the access.
*
- * See RFC 7617, section-2 for details.
+ * See RFC 7617, section 2 for details.
*
* @param request the request to create the action for
* @param realm the realm presented to the client
diff --git a/src/mhd2/mhd_str.h b/src/mhd2/mhd_str.h
@@ -625,7 +625,7 @@ MHD_FN_PAR_NONNULL_ALL_ MHD_FN_PAR_IN_SIZE_ (1, 2) MHD_FN_PAR_OUT_ (3);
/**
* Decode string with percent-encoded characters as defined by
- * RFC 3986 #section-2.1.
+ * RFC 3986, section 2.1.
*
* This function decode string by converting percent-encoded characters to
* their decoded versions and copying all other characters without extra
@@ -650,7 +650,7 @@ MHD_FN_PAR_NONNULL_ALL_ MHD_FN_PAR_IN_SIZE_ (1, 2) MHD_FN_PAR_OUT_SIZE_ (3, 4);
/**
* Decode string with percent-encoded characters as defined by
- * RFC 3986 #section-2.1.
+ * RFC 3986, section 2.1.
*
* This function decode string by converting percent-encoded characters to
* their decoded versions and copying all other characters without extra
@@ -682,7 +682,7 @@ MHD_FN_PAR_IN_SIZE_ (1, 2) MHD_FN_PAR_OUT_SIZE_ (3, 4);
/**
* Decode string in-place with percent-encoded characters as defined by
- * RFC 3986 #section-2.1.
+ * RFC 3986, section 2.1.
*
* This function decode string by converting percent-encoded characters to
* their decoded versions and copying back all other characters without extra
@@ -700,7 +700,7 @@ MHD_FN_PAR_NONNULL_ALL_ MHD_FN_PAR_CSTR_ (1);
/**
* Decode string in-place with percent-encoded characters as defined by
- * RFC 3986 #section-2.1.
+ * RFC 3986, section 2.1.
*
* This function decode string by converting percent-encoded characters to
* their decoded versions and copying back all other characters without extra
@@ -730,7 +730,7 @@ MHD_FN_PAR_NONNULL_ (2) MHD_FN_PAR_INOUT_SIZE_ (2, 1);
#ifdef MHD_SUPPORT_AUTH_DIGEST
/**
* Check two strings for equality, "unquoting" the first string from quoted
- * form as specified by RFC7230#section-3.2.6 and RFC7694#quoted.strings.
+ * form as specified by RFC 9110, section 5.6.4.
*
* Null-termination for input strings is not required, binary zeros compared
* like other characters.
@@ -776,8 +776,8 @@ MHD_FN_PAR_IN_SIZE_ (1, 2) MHD_FN_PAR_IN_SIZE_ (3, 4);
/**
* Check two strings for equality, "unquoting" the first string from quoted
- * form as specified by RFC7230#section-3.2.6 and RFC7694#quoted.strings and
- * ignoring case of US-ASCII letters.
+ * form as specified by RFC 9110, section 5.6.4 and ignoring case of
+ * US-ASCII letters.
*
* Null-termination for input strings is not required, binary zeros compared
* like other characters.
@@ -828,7 +828,7 @@ MHD_FN_PAR_IN_SIZE_ (1, 2) MHD_FN_PAR_IN_SIZE_ (3, 4);
/**
* Convert string from quoted to unquoted form as specified by
- * RFC7230#section-3.2.6 and RFC7694#quoted.strings.
+ * RFC 9110, section 5.6.4.
*
* @param quoted the quoted string, must NOT include leading and closing
* DQUOTE chars, does not need to be zero-terminated
@@ -853,7 +853,7 @@ MHD_FN_PAR_NONNULL_ALL_ MHD_FN_PAR_IN_SIZE_ (1, 2) MHD_FN_PAR_OUT_SIZE_ (3, 2);
/**
* Convert string from unquoted to quoted form as specified by
- * RFC7230#section-3.2.6 and RFC7694#quoted.strings.
+ * RFC 9110, section 5.6.4.
*
* @param unquoted the unquoted string, does not need to be zero-terminated
* @param unquoted_len the length in chars of the @a unquoted string