This project is read-only.
1
Vote

When the file is named Unicode characters, upload failed

description

HttpLib 1.0.8
Redslide.HttpLib/HttpLib/Request.cs
           /*
            * Read the file into the output buffer
           */
           //StreamReader sr = new StreamReader(file.Stream); //invalid code?
           //outBuffer.Write(System.Text.Encoding.UTF8.GetBytes(qsAppend), 0, qsAppend.Length);Append), 0, qsAppend.Length); //fixed
           byte[] qsBytes = System.Text.Encoding.UTF8.GetBytes(qsAppend);
           outBuffer.Write(qsBytes, 0, qsBytes.Length);

comments

pfdcodeplex wrote Jul 8, 2014 at 4:29 AM

//outBuffer.Write(System.Text.Encoding.UTF8.GetBytes(qsAppend), 0, qsAppend.Length); //fixed

JumpKick wrote Jul 16, 2014 at 6:30 PM

Accepted for 1.1.9

wrote Jul 16, 2014 at 6:31 PM

wrote Sat at 11:38 PM