Skip to content

Handle extensionless files by MIME type (Dockerfile, Makefile, .gitignore) #275

Description

@haiphucnguyen

Currently, files without an extension fall through to application/octet-stream and throw UnsupportedOperationException. Fix:

  • Detect by filename pattern (case-insensitive Dockerfile, Makefile, .gitignore, .env.*)
  • Read as plain text when Tika detects text/*

Scope: FileContentExtractor.kt + FileTypeSupport.kt + unit test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions