badwords: fix issues found in tests

There remain some false positives, hits in test data, and `dir` use,
around 100 issues in total.

There is no plan to enforce badwords on tests.

Also:
- badwords.txt: let a few `manpage[s]` occurrences through
  (in Perl code).

Closes #19541
This commit is contained in:
Viktor Szakats 2025-11-15 00:27:38 +01:00
parent f0de14168a
commit a87383828e
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201
247 changed files with 594 additions and 595 deletions

View File

@ -75,5 +75,5 @@ file names\b:filenames
---WWW::Curl
---NET::Curl
---Curl Corporation
\bmanpages[^./&:-]:man pages
\bmanpage[^si./&:-]:man page
\bmanpages[^./;=&{:-]:man pages
\bmanpage[^si./;=&{:-]:man page

View File

@ -84,7 +84,7 @@ EXTRA_DIST = \
valgrind.supp \
$(TESTSCRIPTS)
# we have two variables here to make sure DIST_SUBDIRS won't get 'unit'
# we have two variables here to make sure DIST_SUBDIRS does not get 'unit'
# added twice as then targets such as 'distclean' misbehave and try to
# do things twice in that subdir at times (and thus fails).
if BUILD_UNITTESTS
@ -108,7 +108,7 @@ curl:
TEST_COMMON =
if CROSSCOMPILING
TEST = @echo "NOTICE: we can't run the tests when cross-compiling!"
TEST = @echo "NOTICE: we cannot run the tests when cross-compiling!"
PYTEST = $(TEST)
else # if not cross-compiling:
@ -124,8 +124,8 @@ TEST_F = -a -w -p -r
TEST_T = -a -w -t -j20
TEST_E = -a -w -e
# ~<keyword> means that it will run all tests matching the keyword, but will
# ignore their results (since these ones are likely to fail for no good reason)
# ~<keyword> means that it runs all tests matching the keyword, but ignores
# their results (since these ones are likely to fail for no good reason)
TEST_NF = -a -w -p ~flaky ~timing-dependent
# special target for CI use

View File

@ -33,7 +33,7 @@ our %pastversion;
sub allversions {
my ($file) = @_;
open(A, "<$file") ||
die "can't open the versions file $file\n";
die "cannot open the versions file $file\n";
my $before = 1;
my $relcount;
while(<A>) {

View File

@ -55,7 +55,7 @@ if(!$CAPREFIX) {
} elsif(! -f "$CAPREFIX-ca.cacert" ||
! -f "$CAPREFIX-ca.key") {
if($OPENSSL eq basename($OPENSSL)) { # has no dir component
if($OPENSSL eq basename($OPENSSL)) { # has no directory component
# find openssl in PATH
my $found = 0;
foreach(File::Spec->path()) {

View File

@ -27,6 +27,6 @@ string_mask = utf8only
countryName = "Country Name"
countryName_value = NN
organizationName = "Organization Name"
organizationName_value = Edel Curl Arctic Illudium Research Cloud
organizationName_value = Edel curl Arctic Illudium Research Cloud
commonName = "Common Name"
commonName_value = Northern Nowhere Trust Anchor

View File

@ -29,6 +29,6 @@ string_mask = utf8only
countryName = "Country Name is Northern Nowhere"
countryName_value = NN
organizationName = "Organization Name"
organizationName_value = Edel Curl Arctic Illudium Research Cloud
organizationName_value = Edel curl Arctic Illudium Research Cloud
commonName = "Common Name"
commonName_value = localhost

View File

@ -29,6 +29,6 @@ string_mask = utf8only
countryName = "Country Name is Northern Nowhere"
countryName_value = NN
organizationName = "Organization Name"
organizationName_value = Edel Curl Arctic Illudium Research Cloud
organizationName_value = Edel curl Arctic Illudium Research Cloud
commonName = "Common Name"
commonName_value = localhost

View File

@ -29,6 +29,6 @@ string_mask = utf8only
countryName = "Country Name is Northern Nowhere"
countryName_value = NN
organizationName = "Organization Name"
organizationName_value = Edel Curl Arctic Illudium Research Cloud
organizationName_value = Edel curl Arctic Illudium Research Cloud
commonName = "Common Name"
commonName_value = localhost.nn

View File

@ -29,6 +29,6 @@ string_mask = utf8only
countryName = "Country Name is Northern Nowhere"
countryName_value = NN
organizationName = "Organization Name"
organizationName_value = Edel Curl Arctic Illudium Research Cloud
organizationName_value = Edel curl Arctic Illudium Research Cloud
commonName = "Common Name"
commonName_value = localhost.nn

View File

@ -29,6 +29,6 @@ string_mask = utf8only
countryName = "Country Name is Northern Nowhere"
countryName_value = NN
organizationName = "Organization Name"
organizationName_value = Edel Curl Arctic Illudium Research Cloud
organizationName_value = Edel curl Arctic Illudium Research Cloud
commonName = "Common Name"
commonName_value = localhost.nn

View File

@ -29,6 +29,6 @@ string_mask = utf8only
countryName = "Country Name is Northern Nowhere"
countryName_value = NN
organizationName = "Organization Name"
organizationName_value = Edel Curl Arctic Illudium Research Cloud
organizationName_value = Edel curl Arctic Illudium Research Cloud
commonName = "Common Name"
commonName_value = localhost

View File

@ -30,6 +30,6 @@ string_mask = utf8only
countryName = "Country Name is Northern Nowhere"
countryName_value = NN
organizationName = "Organization Name"
organizationName_value = Edel Curl Arctic Illudium Research Cloud
organizationName_value = Edel curl Arctic Illudium Research Cloud
commonName = "Common Name"
commonName_value = localhost

View File

@ -29,10 +29,10 @@ codeset-utf8
LC_ALL=C.UTF-8
</setenv>
<name>
HTTP over proxy with malformatted IDN host name
HTTP over proxy with malformatted IDN hostname
</name>
# This host name contains an invalid UTF-8 byte sequence that can't be
# This hostname contains an invalid UTF-8 byte sequence that cannot be
# converted into an IDN name
<stdin>
url = "http://invalid-utf8-%hex[%e2%90]hex%.local/page/%TESTNUMBER"

View File

@ -27,7 +27,7 @@ codeset-utf8
LC_ALL=C.UTF-8
</setenv>
<name>
HTTP over proxy with too long IDN host name
HTTP over proxy with too long IDN hostname
</name>
<command>
http://too-long-IDN-name-c%hex[%c3%bc]hex%rl-r%hex[%c3%bc]hex%le%hex[%c3%9f]hex%-la-la-la-dee-da-flooby-nooby.local/page/%TESTNUMBER -x %HOSTIP:%NOLISTENPORT

View File

@ -26,7 +26,7 @@ FTP PASV upload resume from end of file
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C -
</command>
<file name="%LOGDIR/upload%TESTNUMBER">
this is the *****cr@p******** that we're gonna upload
this is the *****cr@p******** that we are gonna upload
worx?
</file>
@ -45,7 +45,7 @@ APPE %TESTNUMBER
QUIT
</protocol>
<upload>
cr@p******** that we're gonna upload
cr@p******** that we are gonna upload
worx?
</upload>

View File

@ -26,7 +26,7 @@ FTP PASV upload resume from end of empty file
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C -
</command>
<file name="%LOGDIR/upload%TESTNUMBER">
this is the *****cr@p******** that we're gonna upload
this is the *****cr@p******** that we are gonna upload
worx?
</file>
@ -45,7 +45,7 @@ STOR %TESTNUMBER
QUIT
</protocol>
<upload>
this is the *****cr@p******** that we're gonna upload
this is the *****cr@p******** that we are gonna upload
worx?
</upload>

View File

@ -50,7 +50,7 @@ http://%HOSTIP:%HTTPPORT/%TESTNUMBER -T%LOGDIR/test%TESTNUMBER.txt -C -
# Verify data after the test has been "shot"
<verify>
# curl doesn't do a HEAD request on the remote file so it has no idea whether
# curl does not do a HEAD request on the remote file so it has no idea whether
# it can skip part of the file or not. Instead, it sends the entire file.
<protocol crlf="headers">
PUT /%TESTNUMBER HTTP/1.1

View File

@ -42,7 +42,7 @@ ftp://test-number:%TESTNUMBER/wanted/page -p -x %HOSTIP:%HTTPPORT
#
# Verify data after the test has been "shot"
<verify>
# The server doesn't implement CONNECT for ftp, so this must be a failure test
# The server does not implement CONNECT for ftp, so this must be a failure test
<errorcode>
56
</errorcode>

View File

@ -23,7 +23,7 @@ HTTP 1.0 PUT from stdin with no content length
http://%HOSTIP:%HTTPPORT/bzz/%TESTNUMBER -T - -0
</command>
<stdin>
this data can't be sent
this data cannot be sent
</stdin>
</client>

View File

@ -28,7 +28,7 @@ boo
http
</server>
<name>
NO_PROXY test, with user name in URL
NO_PROXY test, with username in URL
</name>
<setenv>

View File

@ -37,7 +37,7 @@ PASS ftp@example.com
PWD
PRET RETR %TESTNUMBER
</protocol>
# we expect that the server doesn't understand PRET
# we expect that the server does not understand PRET
<errorcode>
84
</errorcode>

View File

@ -20,10 +20,10 @@ ftp
FTP PASV upload resume
</name>
<command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C 40
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C 41
</command>
<file name="%LOGDIR/upload%TESTNUMBER">
this is the *****crap******** that we're gonna upload
this is the *****crap******** that we are gonna upload
worx?
</file>

View File

@ -11,7 +11,7 @@ documentation
# Client-side
<client>
<name>
Manpage syntax checks
Man page syntax checks
</name>
<command type="perl">

View File

@ -81,7 +81,7 @@ void startfunc(int a, int b) {
// CPP comment ?
/* comment doesn't end
/* comment does not end
</file>
</client>

View File

@ -21,7 +21,7 @@ Mime
smtp
</server>
<name>
SMTP multipart with file name escaping
SMTP multipart with filename escaping
</name>
<stdin crlf="yes">
From: different

View File

@ -41,7 +41,7 @@ FTP PORT download, no data conn and no transient negative reply
s/^EPRT \|1\|(\S*)/EPRT \|1\|/
</strippart>
# This test doesn't send a QUIT because the main state machine in multi.c
# This test does not send a QUIT because the main state machine in multi.c
# triggers the timeout and sets the CURLE_OPERATION_TIMEDOUT error (28) for
# which the FTP disconnect code generically has to assume could mean the
# control the connection and thus it cannot send any command.

View File

@ -28,7 +28,7 @@ This server says moo
http
</server>
<name>
HTTP cookie domains tailmatching the host name
HTTP cookie domains tailmatching the hostname
</name>
<command>
http://example.fake/c/%TESTNUMBER http://bexample.fake/c/%TESTNUMBER -b %LOGDIR/injar%TESTNUMBER -x %HOSTIP:%HTTPPORT

View File

@ -8,7 +8,7 @@ cookies
</keywords>
</info>
# This test is very similar to 1216, only that it sets the cookies from the
# This test is similar to 1216, only that it sets the cookies from the
# first site instead of reading from a file
<reply>
<data crlf="headers">

View File

@ -57,7 +57,7 @@ crypto
digest
</features>
<name>
HTTP with Digest authorization with user name needing escape
HTTP with Digest authorization with username needing escape
</name>
<command>
http://%5cuser%22:password@%HOSTIP:%HTTPPORT/%TESTNUMBER --digest

View File

@ -9,7 +9,7 @@ connect to non-listen
# Server-side
<reply>
<servercmd>
# Assuming there's nothing listening on port 1
# Assuming there is nothing listening on port 1
REPLY EPSV 229 Entering Passive Mode (|||1|)
</servercmd>
<data>

View File

@ -24,7 +24,7 @@ Content-Type: text/html
http
</server>
<name>
URL with 1000+ letter user name + password
URL with 1000+ letter username + password
</name>
<command>
"%repeat[1000 x A]%:%repeat[1002 x B]%@%HOSTIP:%HTTPPORT/%TESTNUMBER"

View File

@ -15,7 +15,7 @@ DELAY
<servercmd>
writedelay: 2000
</servercmd>
# ~1200 bytes (so that they don't fit in two 512 byte chunks)
# ~1200 bytes (so that they do not fit in two 512 byte chunks)
<data nocheck="yes">
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
</data>

View File

@ -35,7 +35,7 @@ Connection: close
http
</server>
<name>
URL with '#' at end of host name instead of '/'
URL with '#' at end of hostname instead of '/'
</name>
<command>
--proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.%TESTNUMBER:%HTTPPORT#@127.0.0.1/tricked.html no-scheme-url.com.%TESTNUMBER:%HTTPPORT#@127.127.127.127/again.html

View File

@ -16,7 +16,7 @@ HTTP GET
http
</features>
<name>
HTTP URL with space in host name
HTTP URL with space in hostname
</name>
<command>
-g "http://127.0.0.1 www.example.com/we/want/%TESTNUMBER"

View File

@ -33,7 +33,7 @@ Content-Length: 0
http
</server>
<name>
HTTP with --resolve and same host name using different cases
HTTP with --resolve and same hostname using different cases
</name>
<command>
--resolve MiXeDcAsE.cOm:%HTTPPORT:%HOSTIP http://MiXeDcAsE.cOm:%HTTPPORT/%TESTNUMBER http://mixedcase.com:%HTTPPORT/%TESTNUMBER0001

View File

@ -31,7 +31,7 @@ Funny-head: yesyes
http
</server>
# make sure there's no Expect: 100-continue when there's no file to send!
# make sure there is no Expect: 100-continue when there is no file to send!
<name>
HTTP with zero size file PUT
</name>

View File

@ -30,7 +30,7 @@ connection-monitor
http
</server>
<name>
Reusing HTTP proxy connection for two different host names
Reusing HTTP proxy connection for two different hostnames
</name>
<command>
--proxy http://%HOSTIP:%HTTPPORT http://test.remote.haxx.se.%TESTNUMBER:8990/ http://different.remote.haxx.se.%TESTNUMBER:8990

View File

@ -28,7 +28,7 @@ Provide illegal proxy name
#
# Verify data after the test has been "shot"
<verify>
# Couldn't resolve proxy name
# Could not resolve proxy name
<errorcode>
5
</errorcode>

View File

@ -46,7 +46,7 @@ codeset-utf8
LC_ALL=C.UTF-8
</setenv>
<name>
Redirect following to UTF-8 IDN host name
Redirect following to UTF-8 IDN hostname
</name>
<command>

View File

@ -27,7 +27,7 @@ tftp://%HOSTIP:%NOLISTENPORT/%repeat[503 x a]%z
#
# Verify data after the test has been "shot"
<verify>
# TFTP file name too long
# TFTP filename too long
<errorcode>
71
</errorcode>

View File

@ -23,7 +23,7 @@ Connection: close
Content-Type: text/html
Funny-head: yesyes
These data aren't actually sent to the client
These data are not actually sent to the client
</data>
</reply>

View File

@ -40,7 +40,7 @@ http
socks5unix
</server>
<name>
HTTP GET with host name using SOCKS5h via Unix sockets
HTTP GET with hostname using SOCKS5h via Unix sockets
</name>
<command>
http://this.is.a.host.name:%HTTPPORT/%TESTNUMBER --proxy socks5h://localhost%SOCKSUNIXPATH

View File

@ -41,7 +41,7 @@ https
socks5unix
</server>
<name>
HTTPS GET with host name using SOCKS5h via Unix sockets
HTTPS GET with hostname using SOCKS5h via Unix sockets
</name>
<command>
https://this.is.a.host.name:%HTTPSPORT/%TESTNUMBER --insecure --proxy socks5h://localhost%SOCKSUNIXPATH

View File

@ -28,7 +28,7 @@ red.onion
#
# Verify data after the test has been "shot"
<verify>
# Couldn't resolve host name
# Could not resolve hostname
<errorcode>
6
</errorcode>

View File

@ -28,7 +28,7 @@ tasty.onion.
#
# Verify data after the test has been "shot"
<verify>
# Couldn't resolve host name
# Could not resolve hostname
<errorcode>
6
</errorcode>

View File

@ -14,7 +14,7 @@ FILE
file
</server>
<name>
file:// don't overwrite self with --skip-existing
file:// do not overwrite self with --skip-existing
</name>
<command option="no-output">
file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt -o %LOGDIR/test%TESTNUMBER.txt --skip-existing

View File

@ -13,8 +13,8 @@ HTTP/1.0 401 BAD BOY
Server: swsclose
Content-Type: text/html
This contains a response code >= 400, so curl shouldn't display this. Even
though it's a response code that triggers authentication, we're not using
This contains a response code >= 400, so curl should not display this. Even
though it is a response code that triggers authentication, we are not using
authentication so we should still fail.
</data>
</reply>

View File

@ -29,7 +29,7 @@ lib%TESTNUMBER
return failure immediately from progress callback
</name>
# this server/host won't be used for real
# this server/host will not be used for real
<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>

View File

@ -10,7 +10,7 @@ resolve
</info>
<reply>
# Close the connection after the first request but don't tell the client to do
# Close the connection after the first request but do not tell the client to do
# so! When starting the second request it'll detect a dead connection and must
# not clean the DNS entries added manually.
<data1>

View File

@ -14,8 +14,8 @@ HTTP/1.0 401 BAD BOY
Server: swsclose
Content-Type: text/html
This contains a response code >= 400, so curl shouldn't display this. Even
though it's a response code that triggers authentication, we're not using
This contains a response code >= 400, so curl should not display this. Even
though it is a response code that triggers authentication, we are not using
authentication so we should still fail.
</data>
</reply>

View File

@ -42,7 +42,7 @@ IMAP cleanup before a connection was created
lib%TESTNUMBER
</tool>
# this MUST use a host name that doesn't resolve
# this MUST use a hostname that does not resolve
<command>
imap://non-existing-host.haxx.se:%IMAPPORT/%TESTNUMBER
</command>

View File

@ -29,7 +29,7 @@ lib%TESTNUMBER
verify api is protected against calls from callbacks
</name>
# this server/host won't be used for real
# this server/host will not be used for real
<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>

View File

@ -15,7 +15,7 @@ lib%TESTNUMBER
</tool>
<name>
Remove easy handle in pending connections doesn't leave dangling entry
Remove easy handle in pending connections does not leave dangling entry
</name>
<command>
hostname.invalid

View File

@ -69,7 +69,7 @@ https
https
</killserver>
<name>
Cookies set over HTTP can't override secure ones
Cookies set over HTTP cannot override secure ones
</name>
<command>
--insecure https://%HOSTIP:%HTTPSPORT/%TESTNUMBER0001 -L -c %LOGDIR/jar%TESTNUMBER.txt -H "Host: www.example.com" http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002 -L -c %LOGDIR/jar%TESTNUMBER.txt -H "Host: www.example.com"

View File

@ -42,7 +42,7 @@ IMAP cleanup before a connection was created
lib1553
</tool>
# it is important this uses a host name that resolves successfully
# it is important this uses a hostname that resolves successfully
<command>
imap://localhost:%IMAPPORT/%TESTNUMBER
</command>

View File

@ -16,7 +16,7 @@ timing-dependent
lib%TESTNUMBER
</tool>
<name>
HTTP request, remove handle while resolving, don't block
HTTP request, remove handle while resolving, do not block
</name>
<command>

View File

@ -32,7 +32,7 @@ ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
# Verify data after the test has been "shot"
<verify>
# This doesn't send QUIT because of known bug:
# This does not send QUIT because of known bug:
# "7.8 Premature transfer end but healthy control channel"
<protocol crlf="yes">
USER anonymous

View File

@ -17,9 +17,9 @@ Proxy-Authenticate: Basic realm="Squid proxy-caching web server"
Server: swsclose
Content-Type: text/html
Even though it's the response code that triggers authentication, we're
using NTLM and the server isn't, so we should fail. We know the server
isn't because there's no Proxy-Authorization: NTLM header
Even though it is the response code that triggers authentication, we are
using NTLM and the server is not, so we should fail. We know the server
is not because there is no Proxy-Authorization: NTLM header
</data1001>
</reply>

View File

@ -56,7 +56,7 @@ proxy
<verify>
# The second CONNECT will be made to the dynamic port number the FTP server
# opens for us, so we can't compare with a known pre-existing number!
# opens for us, so we cannot compare with a known pre-existing number!
<strippart>
s/((https.proxy):(\d+))/$2:12345/
</strippart>

View File

@ -65,7 +65,7 @@ proxy
<verify>
# The second and third CONNECT will be made to the dynamic port number the FTP
# server opens for us, so we can't compare with known pre-existing numbers!
# server opens for us, so we cannot compare with known pre-existing numbers!
<strippart>
s/((https.proxy):(\d+))/$2:12345/

View File

@ -36,7 +36,7 @@ codeset-utf8
LC_ALL=C.UTF-8
</setenv>
<name>
HTTP over proxy with IDN host name
HTTP over proxy with IDN hostname
</name>
<command>
http://www.%hex[%c3%a5%c3%a4%c3%b6]hex%.se/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT http://www.gro%hex[%c3%9f]hex%e.de/page/%TESTNUMBER

View File

@ -51,7 +51,7 @@ If this is received, the location following worked
http
</server>
<name>
HTTP redirect with bad host name separation and slash in parameters
HTTP redirect with bad hostname separation and slash in parameters
</name>
<command>
http://%HOSTIP:%HTTPPORT?oh=what-weird=test/%TESTNUMBER -L

View File

@ -42,7 +42,7 @@ Content-Length: 15
http
</server>
<name>
HTTP GET with resume and redirect (to a page that doesn't resume)
HTTP GET with resume and redirect (to a page that does not resume)
</name>
<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 50 -L

View File

@ -32,7 +32,7 @@ http://%HOSTIP:%NOLISTENPORT/not-there/%TESTNUMBER
# Verify data after the test has been "shot"
<verify>
# 7 CURLE_COULDNT_CONNECT (expected since there's nothing listening there)
# 7 CURLE_COULDNT_CONNECT (expected since there is nothing listening there)
# 42 CURLE_ABORTED_BY_CALLBACK
<errorcode>
42

View File

@ -21,7 +21,7 @@ hello
# Client-side
<client>
# require HTTP too as otherwise CURLOPT_POST doesn't exist
# require HTTP too as otherwise CURLOPT_POST does not exist
<features>
mqtt
http

View File

@ -17,7 +17,7 @@ non-existing host
http
</features>
<name>
attempt connect to non-existing host name
attempt connect to non-existing hostname
</name>
<command>
--ipv4 non-existing-host.haxx.se.

View File

@ -11,7 +11,7 @@ HTTP Digest auth
<reply>
<!-- Alternate the order that Basic and Digest headers appear in responses to
ensure that the order doesn't matter. -->
ensure that the order does not matter. -->
<!-- First request has Basic auth, wrong password -->
<data100 crlf="headers">

View File

@ -12,7 +12,7 @@ NTLM
<reply>
<!-- Alternate the order that Basic and NTLM headers appear in responses to
ensure that the order doesn't matter. -->
ensure that the order does not matter. -->
<!-- First request has Basic auth, wrong password -->
<data100 crlf="headers">

View File

@ -11,7 +11,7 @@ HTTP Digest auth
<reply>
<!-- Alternate the order that Basic and Digest headers appear in responses to
ensure that the order doesn't matter. -->
ensure that the order does not matter. -->
<!-- First request has Digest auth, wrong password -->
<data100 crlf="headers">

View File

@ -13,7 +13,7 @@ HTTP Digest auth
Explanation for the duplicate 400 requests:
libcurl doesn't detect that a given Digest password is wrong already on the
libcurl does not detect that a given Digest password is wrong already on the
first 401 response (as the data400 gives). libcurl will instead consider the
new response just as a duplicate and it sends another and detects the auth
problem on the second 401 response!

View File

@ -12,7 +12,7 @@ NTLM
<reply>
<!-- Alternate the order that Digest and NTLM headers appear in responses to
ensure that the order doesn't matter. -->
ensure that the order does not matter. -->
<!-- First request has Digest auth, wrong password -->
<data100 crlf="headers">

View File

@ -12,7 +12,7 @@ NTLM
<reply>
<!-- Alternate the order that Basic and NTLM headers appear in responses to
ensure that the order doesn't matter. -->
ensure that the order does not matter. -->
<!-- First request has NTLM auth, wrong password -->
<data100 crlf="headers">

View File

@ -12,13 +12,13 @@ NTLM
<reply>
<!-- Alternate the order that Digest and NTLM headers appear in responses to
ensure that the order doesn't matter. -->
ensure that the order does not matter. -->
<!--
Explanation for the duplicate 400 requests:
libcurl doesn't detect that a given Digest password is wrong already on the
libcurl does not detect that a given Digest password is wrong already on the
first 401 response (as the data400 gives). libcurl will instead consider the
new response just as a duplicate and it sends another and detects the auth
problem on the second 401 response!

View File

@ -46,7 +46,7 @@ codeset-utf8
LC_ALL=C.UTF-8
</setenv>
<name>
Connection reuse with IDN host name
Connection reuse with IDN hostname
</name>
<command>

View File

@ -47,7 +47,7 @@ codeset-utf8
LC_ALL=C.UTF-8
</setenv>
<name>
Connection reuse with IDN host name over HTTP proxy
Connection reuse with IDN hostname over HTTP proxy
</name>
<command>

View File

@ -40,7 +40,7 @@ dns
override-dns
</features>
<name>
HTTP GET with host name
HTTP GET with hostname
</name>
<setenv>
CURL_DNS_SERVER=127.0.0.1:%DNSPORT

View File

@ -24,7 +24,7 @@ dns
override-dns
</features>
<name>
HTTP GET with bad host name
HTTP GET with bad hostname
</name>
<setenv>
CURL_DNS_SERVER=127.0.0.1:%DNSPORT

View File

@ -22,7 +22,7 @@ dns
override-dns
</features>
<name>
Get three URLs with bad host name - cache
Get three URLs with bad hostname - cache
</name>
<setenv>
CURL_DNS_SERVER=127.0.0.1:%DNSPORT

View File

@ -23,7 +23,7 @@ mqtt
mqtt
</server>
<name>
MQTT with very long user name
MQTT with 64 KiB long username
</name>
<file name="%LOGDIR/input%TESTNUMBER">
user = %repeat[65536 x a]%:fakepasswd

View File

@ -50,7 +50,7 @@ ws://%HOSTIP:%HTTPPORT/%TESTNUMBER
</client>
#
# PONG with no data and the 32 bit mask
# PONG with no data and the 32-bit mask
#
<verify>
<protocol crlf="yes" nonewline="yes" nocheck="yes">

View File

@ -49,7 +49,7 @@ ws://%HOSTIP:%HTTPPORT/%TESTNUMBER
</client>
#
# PONG with no data and the 32 bit mask
# PONG with no data and the 32-bit mask
#
<verify>
<protocol crlf="headers" nocheck="yes">

View File

@ -25,7 +25,7 @@ FTP resumed upload but no file present remotely
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C -
</command>
<file name="%LOGDIR/upload%TESTNUMBER">
this is the *****crap******** that we're gonna upload
this is the *****crap******** that we are gonna upload
worx?
</file>
@ -44,7 +44,7 @@ STOR %TESTNUMBER
QUIT
</protocol>
<upload>
this is the *****crap******** that we're gonna upload
this is the *****crap******** that we are gonna upload
worx?
</upload>

View File

@ -12,7 +12,7 @@ HTTP GET
HTTP/1.0 404 BAD BOY
Content-Type: text/html
This silly page doesn't reaaaaaly exist so you should not get it.
This silly page does not reaaaaaly exist so you should not get it.
</data>
</reply>

View File

@ -12,7 +12,7 @@ HTTP proxy Digest auth
</info>
# Server-side
<reply>
# The stupid test server doesn't response anything at all until the full
# The stupid test server does not response anything at all until the full
# request has been sent, and then of course the full POST has already been
# sent!
<data>

View File

@ -10,7 +10,7 @@ HTTP proxy Digest auth
</info>
# Server-side
<reply>
# The stupid test server doesn't response anything at all until the full
# The stupid test server does not response anything at all until the full
# request has been sent, and then of course the full POST has already been
# sent!
<data>

View File

@ -16,7 +16,7 @@ file
<name>
GET a directory using file://
</name>
<!-- doesn't work on win32, see #6379 -->
<!-- does not work on win32, see #6379 -->
<features>
!win32
</features>

View File

@ -23,7 +23,7 @@ Connection: close
Content-Type: text/html
Funny-head: yesyes
These data aren't actually sent to the client
These data are not actually sent to the client
</data>
</reply>

View File

@ -16,7 +16,7 @@ file
<name>
GET a directory using file://
</name>
<!-- doesn't work on win32, see #6379 -->
<!-- does not work on win32, see #6379 -->
<features>
!win32
</features>

View File

@ -26,7 +26,7 @@ Q- What did 0 say to 8? A- Nice Belt!
http
</server>
# we're actually more interested in any compression support but this is the
# we are actually more interested in any compression support but this is the
# best we can do right now
<features>
libz

View File

@ -37,7 +37,7 @@ Funny-head: yesyes swsclose
http
</server>
<name>
HTTP with cookie using host name 'moo'
HTTP with cookie using hostname 'moo'
</name>
<command>
-x http://%HOSTIP:%HTTPPORT http://moo/we/want/%TESTNUMBER -b none http://moo/we/want/%TESTNUMBER0002

View File

@ -32,7 +32,7 @@ REPLY SIZE 500 no such command
ftp
</server>
<name>
FTP range download when SIZE doesn't work
FTP range download when SIZE does not work
</name>
<command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --range 3-6

View File

@ -12,7 +12,7 @@ HTTP GET
HTTP/1.0 404 BAD BOY swsclose
Content-Type: text/html
This silly page doesn't reaaaaaly exist so you should not get it.
This silly page does not reaaaaaly exist so you should not get it.
</data>
</reply>

View File

@ -8,7 +8,7 @@ Expect: 100-continue
</info>
# Server-side
<reply>
# 417 means the server didn't like the Expect header
# 417 means the server did not like the Expect header
<data>
HTTP/1.1 417 BAD swsbounce
Date: Tue, 09 Nov 2010 14:49:00 GMT

View File

@ -12,7 +12,7 @@ HTTP GET
HTTP/1.0 404 BAD BOY swsclose
Content-Type: text/html
This silly page doesn't reaaaaaly exist so you should not get it.
This silly page does not reaaaaaly exist so you should not get it.
</data>
</reply>

View File

@ -26,7 +26,7 @@ Connection: close
http
</server>
<name>
Empty user name provided in URL
Empty username provided in URL
</name>
<command>
http://:example@%HOSTIP:%HTTPPORT/%TESTNUMBER

View File

@ -32,7 +32,7 @@ dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
ftp
</server>
<name>
pick netrc password based on user name in URL
pick netrc password based on username in URL
</name>
<command>

View File

@ -40,7 +40,7 @@ local-http
<command>
-4 http://curlmachine.localhost:%HTTPPORT/%TESTNUMBER
</command>
# Ensure that we're running on localhost
# Ensure that we are running on localhost
</client>
#

View File

@ -13,7 +13,7 @@ URL
http
</server>
<name>
65536 bytes long host name in URL
65536 bytes long hostname in URL
</name>
<file name="%LOGDIR/input%TESTNUM">
url = http://%repeat[65536 x a]%/399

View File

@ -29,7 +29,7 @@ SSL
https
</server>
<name>
HTTPS GET with very long request header
HTTPS GET with 49 KB long request header
</name>
# 14 characters repeated 3500 times makes 49000 bytes
<file name="%LOGDIR/file%TESTNUMBER">

View File

@ -34,7 +34,7 @@ Debug
http
</server>
<name>
alt-svc using host name with trailing dot in URL
alt-svc using hostname with trailing dot in URL
</name>
<setenv>
# make Debug-curl accept Alt-Svc over plain HTTP

Some files were not shown because too many files have changed in this diff Show More