Skip to content

CSV containing SVG tags incorrectly detected as image/svg+xml  #111

@dloebl

Description

@dloebl

Related issue: #107

CSV files with SVG tags are incorrectly detected as SVGs (image/svg+xml)

Marcel::MimeType.for Pathname.new("test.csv")
=> "image/svg+xml"

Input:
test.csv

title,width,height,body
Test,100,100,"<svg></svg>"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions