HTTP - 400 bad request while downloading file
After further investigation on basis of previous question url encode/decode is working properly. Issue is something with Apache server (might be) which serves file download request Specially if my file name ends with % sign, it开发者_Python百科 fails. For e.g.
Original File name: 204153_20090605_Aluminiumacetotartraat_DCB_oordruppels_1,2%.pdf Url in browser after clicking on download link: http://pdf/204153_20090605_Aluminiumacetotartraat_DCB_oordruppels_1%2C2%25.pdf
This returns 400 error with bad request. I am using LAMP with Kohana 3 framework.
Please guide.
Thanks is advance.
You missed a Host in the address. If it's only tipping fault the server may does not have permissions to access the file.
精彩评论