Upload a picture in IE, the image name contains Chinese upload error, but there is no problem in other browsers.

Source: Internet
Author: User
Upload a picture in IE, the image name contains Chinese upload error, but there is no problem in other browsers.
The URL protocol method result type has received a read cache gap that has spent the initiator waiting for a start request response
Http://up.qiniu.com/HTTP POST 401

--vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "FileName"

Buttons options political 回� jpg
--vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "Filename"

Buttons options political 回� jpg
--vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "Pictitle"

Buttons options political 回� jpg
--vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "Key"

Buttons options political 回� jpg
--vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "Filenameformat"

{Time} {Rand:6}
--vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "token"

Vg0x7rhn13lm3s3xkkpwo5_mamvw1pp1_pzmflzb:5szkglxq-zmxyiotm2vwihwwcmc=:
--vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "File"; Filename= "buttons options political 回� jpg"
Content-type:application/octet-stream

<二进制文件数据未显示>
Vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "Upload"

Submit Query
--vwqkirvscusubmgecmvfmjqrdqvmjwrp--

Reply content:

Upload a picture in IE, the image name contains Chinese upload error, but there is no problem in other browsers.
The URL protocol method result type has received a read cache gap that has spent the initiator waiting for a start request response
Http://up.qiniu.com/HTTP POST 401

--vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "FileName"

Buttons options political 回� jpg
--vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "Filename"

Buttons options political 回� jpg
--vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "Pictitle"

Buttons options political 回� jpg
--vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "Key"

Buttons options political 回� jpg
--vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "Filenameformat"

{Time} {Rand:6}
--vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "token"

Vg0x7rhn13lm3s3xkkpwo5_mamvw1pp1_pzmflzb:5szkglxq-zmxyiotm2vwihwwcmc=:
--vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "File"; Filename= "buttons options political 回� jpg"
Content-type:application/octet-stream

<二进制文件数据未显示>
Vwqkirvscusubmgecmvfmjqrdqvmjwrp
Content-disposition:form-data; Name= "Upload"

Submit Query
--vwqkirvscusubmgecmvfmjqrdqvmjwrp--

encodeURI('中文文件名.jpg');//"%E4%B8%AD%E6%96%87%E6%96%87%E4%BB%B6%E5%90%8D.jpg"

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.