#10149 closed (fixed)
FileField doesn't validate max_length
Reported by: | Owned by: | jkocherhans | |
---|---|---|---|
Component: | Forms | Version: | |
Severity: | Keywords: | FileField ImageField max_length | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
FileField doesn't validate the max_length argument. When you try to upload a file with a very long name, the value stored into the column is truncated to max_length value.
Attachments (2)
Change History (9)
comment:1 by , 16 years ago
milestone: | → 1.1 |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
by , 16 years ago
Attachment: | filefield_patch_and_tests-r9962.diff added |
---|
comment:3 by , 16 years ago
Has patch: | set |
---|
comment:4 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
by , 16 years ago
Attachment: | 10149.diff added |
---|
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 by , 16 years ago
Note:
See TracTickets
for help on using tickets.
FieldField patch and tests