I have several Drupal7 sites with private file settings in the same web server. The private file settings of images works perfect. But the private file fields uploading PDF do not work well.

I have no problem in the sites which are migrated from Drupal6 to Drupal7, however, in the Drupal7 sites which are NOT migrated from Drupal6, any public PDF field with the regular file path shows the PDF on the browser, but any private PDF field with the "system" path force PDF files to be downloaded, even though both with "type="application/pdf" in the link. I need both to be shown on the browser.

These sites are with the same core files and mostly the same modules. So I suppose there are not any problem in theming or modules, and there must be a specific database setting which is not included in "config/media/file-system" makes this problem happen.

I appreciate any suggestion.

Comments

Version: 7.21 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.