[Misdetection] .env file misdetected as HTML
- Dominant language
- Rust
- Stars
- 18.6k
- Forks
- 1.2k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 20
Description
**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=""
value="1234"
body="
kokot
"```
it got classified as HTML.
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
Contributor guide
Research direction
Start by reproducing the detection result with the attached .env sample and compare it with the reported HTML classification. Trace the file-type detection path to determine where this edge case is handled. Done means the sample is classified as .env rather than HTML, with the behavior verified against the attached input.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100