Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F663
fix.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
steghoefer
Feb 15 2011, 2:58 PM
2011-02-15 14:58:38 (UTC+1)
Size
445 B
Referenced Files
None
Subscribers
None
fix.diff
View Options
Index: Modules/MitkExt/IO/mitkPACSPlugin.cpp
===================================================================
--- Modules/MitkExt/IO/mitkPACSPlugin.cpp (revision 29792)
+++ Modules/MitkExt/IO/mitkPACSPlugin.cpp (working copy)
@@ -238,7 +238,7 @@
return std::string("application/pdf");
}
- if ( firstLine.substr( 0, 5 ) == "{\rtf" )
+ if ( firstLine.substr( 0, 5 ) == "{\\rtf" )
{
return std::string("text/richtext");
}
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
638
Default Alt Text
fix.diff (445 B)
Attached To
Mode
T6948: GuessMIMEType doesn't recognize RTFs correctly
Attached
Detach File
Event Timeline
•
steghoefer
added a comment.
Feb 15 2011, 2:58 PM
2011-02-15 14:58:38 (UTC+1)
Comment Actions
Correct the magic bytes
Log In to Comment