badwords: catch and fix more variants of NN-bit

Closes #20304
This commit is contained in:
Viktor Szakats 2026-01-11 14:50:27 +01:00
parent 60ab58a8a5
commit 4651d4c76b
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
20 changed files with 29 additions and 32 deletions

View file

@ -357,7 +357,7 @@ static void cleanup_encoder_state(struct mime_encoder_state *p)
p->bufend = 0;
}
/* Dummy encoder. This is used for 8bit and binary content encodings. */
/* Dummy encoder. This is used for 8-bit and binary content encodings. */
static size_t encoder_nop_read(char *buffer, size_t size, bool ateof,
struct curl_mimepart *part)
{
@ -384,7 +384,7 @@ static curl_off_t encoder_nop_size(curl_mimepart *part)
return part->datasize;
}
/* 7bit encoder: the encoder is just a data validity check. */
/* 7-bit encoder: the encoder is just a data validity check. */
static size_t encoder_7bit_read(char *buffer, size_t size, bool ateof,
curl_mimepart *part)
{