Is there anybody who uses plpdf and got it working with the apex compatibility mode on 4.2?
If I set compatibility to 4.2 and show a pdf inline in the browser, it displays the binary pdf code instead of recognizing it as a pdf document
This happens only in FireFox. IE does work correctly.
When I set the compatibility mode to pre 4.1 everything works fine again.
Even the simple hello world example behaves like this.
But it would be nice to run in 4.2 mode.
Anybody experienced this and has a solution?
Found the issue.
It is all explained in the following thread: MIME type issue in version 4.1/4.2 Compatibility Mode
For those who only need a solution:
Just add htp.init; to your plpdf procedure to reset the header data that apex already wrote before generating code for the "Before Header" process point.