Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

MIME type and PDF upload in Apex 4.2.1

D-FilesMar 18 2013 — edited Mar 18 2013
Hi there,

a few days ago, we upgraded to Apex 4.2.1 and I wonder if there is a bug in the "File Browse..." item.
In an older version (don't know if 4.0 or 3.2) it all worked fine, but when I'm now uploading PDF files via the file browser, Apex inserts "application/download" or "text/html" as MIME type into apex_application_files.
Trying to download them logically crashs, because the browser gets the wrong MIME.
But just recognized with PDFs... Uploading e.g JPGs or TXTs get's the correct MIME type.
As workaround I'm hardcoding the MIME type as "application/pdf", if the file ends on ".pdf" but I would prefer to get it from the apex_application_files table...
Am I the only one with this problem or is it already known?


Thanks a lot
Daniel


PS:
Handle is already changed ;)

Edited by: 977470 on 18.03.2013 02:06
This post has been answered by Patrick Wolf-Oracle on Mar 18 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 15 2013
Added on Mar 18 2013
2 comments
1,043 views