Bug 794130 (JBEPP-1196)

Summary: Mime Type definition for file uploading
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Thomas Heute <theute>
Component: PortalAssignee: hfnukal <hfnukal>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: epp-bugs
Target Milestone: ---   
Target Release: 5.2.0.ER02   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-1196
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-01 16:14:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Thomas Heute 2011-09-22 07:23:01 UTC
project_key: JBEPP

Comment 1 Thomas Heute 2011-09-22 07:23:18 UTC
Link: Added: This issue is related to GTNPORTAL-1966


Comment 2 hfnukal@redhat.com 2011-10-01 16:14:54 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue
Release Notes Text: Added: From UploadService, portal gets the MIME - type of *.rft file as "text/rtf", this result come from DiskFileItem from apache, but, that is not correct, should change to "application/rtf"
For reference, pls check: http://www.w3schools.com/media/media_mimeref.asp
This was corrected.


Comment 3 Jared MORGAN 2011-12-05 03:20:36 UTC
Release Notes Text: Removed: From UploadService, portal gets the MIME - type of *.rft file as "text/rtf", this result come from DiskFileItem from apache, but, that is not correct, should change to "application/rtf"
For reference, pls check: http://www.w3schools.com/media/media_mimeref.asp
This was corrected. Added: A problem with UploadService was causing the MIME type of .rtf files extracted from DiskFileItem in Apache as "text/rtf". The value should have been extracted as "application/rtf", which caused problems for applications dependent on correct MIME type information. The fix corrects the MIME type encoding, and ensures .rtf files are set with the MIME type "application/rtf".