Page MenuHomePhabricator

db field for minor mime is too small
Closed, ResolvedPublic

Description

The db field of minor mime ( in filearchive and image tables ) is currently varchar(32), but this is not large enough for real world situations. Example is http://wikimediafoundation.org/wiki/File:Wikimedia_Five-Year_Targets.ods

(file size: 19 KB, MIME type: application/vnd.oasis.opendocument.spreadshe)


Version: 1.17.x
Severity: normal

Details

Reference
bz25574

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:22 PM
bzimport set Reference to bz25574.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

I briefly glanced over the relevant RFCs and saw no specific maximum size mentioned, so I guess we should make it varchar(255).