attachment download fails for https, authenticated user and private
webengr - May 5, 2008 - 16:40
| Project: | Drupal |
| Version: | 5.7 |
| Component: | upload.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
For a drupal 5.7 website using only https, requiring authentication to view, and set to private for uploaded files, when using Internet Explorer 6 users get error window saying "The file could not be written to the cache"
Interesting is that if you set the advanced options to disable downloading https pages, then the file can be downloaded. Almost sounds like when using https the page is trying to download instead of the attachment?
I suspect this error may persist for https even if not private files and anonymous users.

#1
I am having this same problem. For IE 7 You can download the file but not view it (pdf). pdf opens in Firefox, but is called index.php.
This started happening after upgrading 5.4 to 5.7.
#2
has anyone upgraded to drupal 6.2 using only https, and had this issue for attachments?
#3
I think that is my next step. I rolled back to 5.2 (I thought it was 5.4, but it was 5.2) and it the behavior did not change. I will upgrade and post again.
#4
This is a duplicate of http://drupal.org/node/163445
Please keep everything together in that original issue.
#5
BTW, this is true https with private files for 6.x and likely 7.x also,
see
http://drupal.org/node/163445