Ticket #1939 (new Defect)
Mime type definition in info.plist is EVIL and breaks things!
| Reported by: | tyler@… | Owned by: | timothy |
|---|---|---|---|
| Priority: | Normal | Milestone: | Colloquy 2.4 |
| Component: | Colloquy (Mac) | Version: | 2.3 (Mac) |
| Severity: | Normal | Keywords: | |
| Cc: |
Description
The mime type definition for the colloquyTranscript entry is very evil. If I select an xml file from a web server in Safari and download it using right click "download file as..." it changes the file name from "ASD2811.XML" to "ASD2811.XML.colloquyTranscript" and the owner of the file becomes Colloquy.
NOT good!
This is the offending stuff from the info.plist I believe, and I think it's the mime type part ("CFBundleTypeMIMETypes") that's the problem. Somehow this is overriding the default for application/xml in safari such that the behavior described above happens.
<dict> <key>CFBundleTypeExtensions</key> <array> <string>colloquyTranscript</string> <string>colloquytranscript</string> </array> <key>CFBundleTypeIconFile</key> <string>Generic.icns</string> <key>CFBundleTypeMIMETypes</key> <array> <string>application/xml</string> </array> <key>CFBundleTypeName</key> <string>Chat transcript</string> <key>CFBundleTypeOSTypes</key> <array> <string>coTr</string> </array> <key>CFBundleTypeRole</key> <string>Viewer</string> </dict>
Mac OS X 10.5.8, MacBook Pro, 4 Gig RAM, etc.
Change History
Note: See
TracTickets for help on using
tickets.
