Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Habersack <grendel@twistedcode.net>2014-12-16 01:34:32 +0300
committerMarek Habersack <grendel@twistedcode.net>2014-12-16 01:34:32 +0300
commitc2dce69079a070c4b9ed6344821498ee84dcdf49 (patch)
treeb19dbe3fa835c3ebad24404372eea1dbe85baa85 /man/mono-cil-strip.1
parente78a3c6857d8a8d9b59480940ac6cd4e2157fed0 (diff)
Fix command stream encoding for FTP requests.
Whenever a connection to an FTP server is established, FtpWebRequest sends an option command to the server to enable UTF8 encoding for the transfer. So far we've failed to check the request status of that command and assumed that UTF8 is enabled but *also* failed to actually use the encoding when sending commands (we had the ASCII encoding hard-coded). This resulted in failed requests whenever a command named a file or path which included non-ASCII characters. This patch does two things: * checks the status of the UTF8 enabling command and uses UTF8 encoding only if it succeeded. Otherwise Encoding.Default is used. * uses the encoding detected above for the command stream. Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=24611 [Tests will follow at a later date]
Diffstat (limited to 'man/mono-cil-strip.1')
0 files changed, 0 insertions, 0 deletions