Can't upload .csv files in CForms (2.1.7)

2005-07-01 Thread Carlos Gama
Hi all, I'm tryed to change the upload sample/demo that comes with cocoon 2.1.7 to allow the upload of .csv files instead of simple text files (i.e. .txt) but I allways get the upload.invalid-type (i.e. Invalid Content Type) validation error when I submmit the form!? All I did was

Re: Can't upload .csv files in CForms (2.1.7)

2005-07-01 Thread Carlos Gama
FYI I've sort it! I've sniffed the traffic between the browser and Jetty/Cocoon with Ethereal and discovered that the .csv file is sent with mime-type application/vnd.ms-excel?! Perhaps this happens only when the file is uploaded from a Windows machine, so just in case I changed the mime-types