diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2009-01-21 04:42:47 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2009-01-21 04:42:47 +0000 |
commit | 5591550167092c0e5f307b3c2c87f44518e7159f (patch) | |
tree | 7fc43fd73fc132099fc7a9c6c740484ad29d4c82 /lib/http.c | |
parent | 6bb9ef8de4273e0f5f5e499eb61a972b3644f70f (diff) |
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.
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index eaa50eeef..b96d51d78 100644 --- a/lib/http.c +++ b/lib/http.c @@ -2271,7 +2271,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done) if(checkprefix("ftp://", ppath) || checkprefix("ftps://", ppath)) { char *p = strstr(ppath, ";type="); if(p && p[6] && p[7] == 0) { - switch (toupper((int)((unsigned char)p[6]))) { + switch (Curl_raw_toupper(p[6])) { case 'A': case 'D': case 'I': |