Skip to content

[BUG] LFS Render displays as text #14565

@kdumontnu

Description

@kdumontnu

Description

When viewing an LFS file in gitea, the view now shows as text instead of the file (see a jpg below). Presumably the mimetest function is getting the pointer file instead of the actual LFS file.

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    skip-changelogThis PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.type/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions