Opened 5 years ago
Closed 5 years ago
#1484865 closed Bugs (invalid)
attachment download not functioning properly
| Reported by: | kchris | Owned by: | |
|---|---|---|---|
| Priority: | 8 | Milestone: | |
| Component: | MIME parsing | Version: | 0.1-stable |
| Severity: | major | Keywords: | |
| Cc: |
Description
I tried to upgrade to v0.1 stable from a very early function (in this version the UI didn't not function after ONE attachment download). Now I cannot normally download any attachment: the "get.inc" does not set any header line: the browser shows the attachment with the default content-type setting. If it is text/html then as text (even if it is a .zip file).
I tried also with the last nightly build - the same result. I traced that the "header" lines are correctly in the "get.inc", variables have the correct content but somehow it does not set the header really (do I have a special php configuration? the installation hadn't show any errors..). But I also don't get the error: "header already sent"...
Change History (2)
comment:1 Changed 5 years ago by kchris
comment:2 Changed 5 years ago by thomasb
- Resolution set to invalid
- Status changed from new to closed

sorry. this wasn't a bug: db.inc.php contained a TAB character. I've removed it so it does work now. But I do wonder: why did it work on normal pages? Normal pages do include db.inc too, and they changed the content type from octet-stream (default) to text/html...