Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
P
paperclip
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ikcrm_common
  • paperclip
  • Repository

Switch branch/tag
  • paperclip
  • spec
  • support
  • fixtures
  • empty.xlsx
Find file
HistoryPermalink
  • Stephen Pike's avatar
    Prefer the mimemagic gem for content type detection · 2a0274d1
    Prioritize MimeMagic over the `file` binary for content type detection
    when it finds a match. Fall back to `file` if MimeMagic can't match
    anything.
    
    `file` incorrectly detects Open Office XML files (e.g., xlsx, docx) as
    zip since they're implemented as zipped archives of xml files. MimeMagic
    detects them properly.
    Stephen Pike committed Apr 26, 2015
    2a0274d1
empty.xlsx 25.8 KB

Download (25.8 KB)