[WebTradional - Multiple File Upload] Length of MimeType on FileMetadata too small
Forge component by Luís Santos Monteiro
Application Type
Traditional Web

Hi,

The MimeType length is set to 50, I am getting string truncated errors as my MimeType is

"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"

are you able to increase the length 

Thanks Neil

Hi Neil,

Thanks for your feedback.
I updated the component with the length 250 for the attribute MimeType.

Should be enough accordingly with the documentation I read.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types


https://stackoverflow.com/questions/643690/maximum-mimetype-length-when-storing-type-in-db#:~:text=According%20to%20RFC%204288%20%22Media,can%20be%20max%20127%20characters.


Feel free to give your feedback if it works.


Cheers,

Luís

Thanks for the rapid response, works perfectly although I did notice that the structure file MimeType is still 50, not sure if that impacts anything

Regards

Neil

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.