Plugin Developer Discussion

Discussion for FogBugz Plugin developers

CPluginPostFile and encoded filenames

The filenames of Multipart POST request should be encoded to avoid problems with special characters like " and = . It seems that CPluginPostFile class doesn't decode the filenames.
Is that a bug, or am I using an unsupported encoding (Flex "escape()" function)?

Ciao
Marco
Marco Botton Send private email
Tuesday, September 1, 2009
 
 
Hi Marco,

CPluginPostFile is just a thin wrapper around System.Web.HTTPPostedFile.  For the filename, we return exactly what .NET gives us, which I believe should be unencoded.

Looking into it a bit more, I think escape is a URL encoding, whereas multipart/form-data uses mime encoding...?
David Fullerton Send private email
Tuesday, September 1, 2009
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz