Skip to content

Detect extensionless text files as text/plain #3545

Description

@AlexAndBear

Is your feature request related to a problem? Please describe.

Extensionless text files such as README, LICENSE, or config files are currently reported as application/octet-stream. The web frontend cannot reliably route that generic MIME type to the built-in text editor without risking binary files being opened as text.

Describe the solution you'd like

Detect extensionless textual files as text/plain where possible. Once the backend reports text/plain, the existing web app registration/default-action flow can open those files with the text editor.

Additional context

Related frontend issue: opencloud-eu/web#3382

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions