I spent some time today tracking down an issue in one of the web applications I manage.
I had a person trying to upload an image for their profile, but they were getting an error saying the file was either too large or not the proper file type. I had them send me the file and I was able to upload it to my test system without a problem.
I reviewed the code and still didn’t see anything. I eventually had them upload the file to another area where I store the .PostedFile.ContentType property. Turns out, the content type didn’t match the ones that I allowed.
For some reason, when you’re using Internet Explorer (not sure if this is the same in other browsers) via Citrix, the content type will be:
I have no idea why Citrix would create a new mime type, but they did.