mirror of
https://github.com/curl/curl.git
synced 2026-08-26 15:13:34 +03:00
Fixed a couple more locale-dependent toupper conversions, mainly for
clarity. This does fix one problem that causes ;type=i FTP URLs to fail in the Turkish locale when CURLOPT_PROXY_TRANSFER_MODE is used (test case 561) Added tests 561 and 1092 through 1094 to test various combinations of ;type= and ;mode= URLs that could potentially fail in the Turkish locale.
This commit is contained in:
parent
6bb9ef8de4
commit
5591550167
17 changed files with 314 additions and 27 deletions
46
tests/data/test1091
Normal file
46
tests/data/test1091
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
<testcase>
|
||||
# based on test 143
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
RETR
|
||||
type=
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
bla bla bla
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
ftp
|
||||
</server>
|
||||
<name>
|
||||
FTP URL with type=i
|
||||
</name>
|
||||
<command>
|
||||
"ftp://%HOSTIP:%FTPPORT/%2ftmp/moo/1091;type=i" --use-ascii
|
||||
</command>
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
PWD
|
||||
CWD /tmp
|
||||
CWD moo
|
||||
EPSV
|
||||
TYPE I
|
||||
SIZE 1091
|
||||
RETR 1091
|
||||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue