curl_easy_setopt.md: add missing CURLOPT_POSTFIELDS

It was mistakenly removed in 8dab7465a5 (shipped in 8.9.0)

Also fix test 1139 which should have detected this but didn't due to a
bad regex check.

Reported-by: Jonathan Cardoso
Fixes #19151
Closes #119152
This commit is contained in:
Daniel Stenberg 2025-10-20 00:34:56 +02:00
parent 3986149c04
commit 0bb25cdbb7
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 5 additions and 1 deletions

View file

@ -686,6 +686,10 @@ Port number to connect to. See CURLOPT_PORT(3)
Make an HTTP POST. See CURLOPT_POST(3)
## CURLOPT_POSTFIELDS
Send a POST with this data - does not copy it. See CURLOPT_POSTFIELDS(3)
## CURLOPT_POSTFIELDSIZE
The POST data is this big. See CURLOPT_POSTFIELDSIZE(3)

View file

@ -90,7 +90,7 @@ sub scanmdpage {
}
}
foreach my $m (@words) {
my @g = grep(/$m/, @m);
my @g = grep(/$m\b/, @m);
if(!$g[0]) {
print STDERR "Missing mention of $m in $file\n";
$errors++;