Opened 19 years ago
Closed 16 years ago
#1921 closed defect (fixed)
file size of attachment does not exceed 262144 bytes
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | low | Milestone: | 0.9 |
Component: | general | Version: | devel |
Severity: | normal | Keywords: | attachment |
Cc: | vittorio@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
the file size of attached file (slaa089a.pdf) is 202075 bytes. but trac displays: "HTML preview not available, since file-size exceeds 262144 bytes."
using trunk r2068, python 2.3, mod_python
Attachments (1)
Change History (8)
by , 19 years ago
Attachment: | slaa089a.pdf added |
---|
comment:1 by , 19 years ago
Milestone: | → 0.9 |
---|---|
Priority: | normal → low |
comment:2 by , 19 years ago
Cc: | added |
---|
comment:3 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The way Trac enforced the "max preview file size" limit was a bit confusing. It didn't look at the actual file size but the size of the file contents when it had been converted to utf-8 (for non-binary files). [2118] changed this back to the actual file size.
comment:4 by , 19 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
theres still (or again) something wrong. using trunk r2383 theres no "download the file" link, even no comment why. reproducible on attachment slaa089a.pdf
comment:5 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
follow-up: 7 comment:6 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I have this problem with my max file size set to 10485760 bytes in trac.ini. Using trac 0.11 on windows server 2008 with apache2 and python 2.5
comment:7 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Replying to anonymous:
I have this problem with my max file size set to 10485760 bytes in trac.ini. Using trac 0.11 on windows server 2008 with apache2 and python 2.5
Really sorry about that, my mistake completely. Please ignore.
testfile not exceeding 262144 bytes