|
Attachment mime types funky on forums?
|
|
02-22-2012, 10:04 AM
Post: #11
|
|||
|
|||
RE: Attachment mime types funky on forums?
(02-22-2012 03:06 AM)BMR777 Wrote:(02-21-2012 01:27 PM)frostschutz Wrote: Try this, it works better It's a ZIP file but the MIME seems to be BMP so Firefox outputs it as an image. You can force a download to your desktop and open it as a ZIP. I just don't know how MyBB messed it up (or perhaps frostschutz faked the MIME type). PM me for custom plugins. |
|||
|
02-22-2012, 10:19 AM
Post: #12
|
|||
|
|||
RE: Attachment mime types funky on forums?
(02-22-2012 10:04 AM)Pirata Nervo Wrote: I just don't know how MyBB messed it up (or perhaps frostschutz faked the MIME type). MyBB messed it up by letting me fake the mime type. It just uses whatever type the client used when uploading. Since MyBB only allows specific extensions maybe it should just use the mime type that's normally used for that extension. A mime type provided by the client is just unreliable, even if you ignore people who fake it on purpose, there are just buggy clients around... Google SEO | Gravatar | Hooks | HTMLPurifier | Overview | Patches | PluginLibrary @ GitHub/frostschutz |
|||
|
02-22-2012, 10:44 AM
Post: #13
|
|||
|
|||
|
RE: Attachment mime types funky on forums?
Yes that's probably the best solution. I'm posting a new issue on Redmine.
PM me for custom plugins. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help


![[Image: s.png]](http://mybb-plugins.com/images/s.png)




