Closed
Bug 603799
Opened 14 years ago
Closed 14 years ago
Gracefully handle filenames that are too long
Categories
(support.mozilla.org :: General, defect, P2)
support.mozilla.org
General
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 596116
2.3
People
(Reporter: paulc, Assigned: paulc)
Details
Django uses VARCHAR(100) to store file names in MySQL. It's conceivable that users would upload files with long enough names to overflow this limit, especially since Django stores the relative path too. Did some quick researching and it looks like there's a Django ticket [#9893]. Meanwhile, there is also a quick and acceptable solution: http://code.djangoproject.com/ticket/9893#comment:8 i.e. use FileField(max_length=SOMETHING_BIGGER).
Assignee | ||
Comment 1•14 years ago
|
||
Handling this in bug 596116, along with some other minor fixes there as well.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → paulc
Updated•14 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•