P. Scott DeVos wrote:
It works fine for me using 2.7.3, but my nc -l -p 8080 outputs differently than yours--my browser url-encodes the ';' thusly:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.2) Gecko/20040803 Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://localhost:8080/sandbox/test_zpt Cookie: dtpref_rows="20"; ta_pref_cols="140"; ta_pref_rows="30"; dtpref_cols="100%"; tree-s="eJzT0MgpMOQKVneEA1dbda4CI67EkgJjLj0AeGcHew" Authorization: Basic cHNjb3R0ZHY6ZHJiZWFnbDM= Content-Type: application/x-www-form-urlencoded ^^^^^^^^^^^^^^^^^^^^^ Content-Length: 14
filename=a%3Bb
When you creating form for file upload you normally sets form content type to "multipart/form-data": <form enctype="multipart/form-data" action="http://localhost:8000/" method="POST"> Try it. You will see something like this: POST / HTTP/1.1 Connection: Keep-Alive User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko) Pragma: no-cache Cache-control: no-cache Accept: text/html, image/jpeg, image/png, text/*, image/*, */* Accept-Encoding: x-gzip, x-deflate, gzip, deflate Accept-Charset: koi8-r, utf-8;q=0.5, *;q=0.5 Accept-Language: en Host: localhost:8000 Content-Type: multipart/form-data; boundary=----------bnFccLZora1CrXZK1Fgi5hIkkjdNJhjtVzT5I2u7atKPPtkO6O4B3Nu Content-Length: 243 ------------bnFccLZora1CrXZK1Fgi5hIkkjdNJhjtVzT5I2u7atKPPtkO6O4B3Nu Content-Disposition: form-data; name="file"; filename="a;b" Content-Type: application/x-zerosize ------------bnFccLZora1CrXZK1Fgi5hIkkjdNJhjtVzT5I2u7atKPPtkO6O4B3Nu-- -- Vladimir