Skip to content

[Misdetection] .env file misdetected as HTML #1248

@petrkotas

Description

@petrkotas

What should the file have been detected as? What has the file been misdetected as?
I have tried to input the .env file with edge case content

text="<html><head></head><body></body></html>"
value="1234"
body="<h1>kokot</h1>"

it got classified as HTML.

Image

It should be .env, but it is clearly and edge case.

Please link or attach the misdetected file below (Do NOT upload PII!)
File included up.

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    misdetectionThis issue is about a misdetection on a content type currently supported

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions