Skip to content

Data truncation: Data too long for column 'contentType' at row 1 #55

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
when send message with attachement with big name...
in the content type they can add the file name...
so the content-type can be larger than 255...


What is the expected output? What do you see instead?
database insertion of the message...
instead the message is rejected directly without smtp error message (connection 
close).

What version of the product are you using? On what operating system?
last git

Please provide any additional information below.

i've resized the database field to 550... but is not the good solution... i 
think the most elegante solution is to analyse content type and remove extra  
subtype (http://www.w3.org/Protocols/rfc1341/4_Content-Type.html) before insert 
to database...

Original issue reported on code.google.com by mcarbonneaux on 27 Jul 2014 at 4:16

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions