View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000688 | file | General | public | 2025-10-23 09:41 | 2025-10-23 09:41 |
| Reporter | ea9dtx | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | x86_64 | OS | Arch Linux | OS Version | 6.17.4-arch2-1 |
| Product Version | 5.46 | ||||
| Summary | 0000688: plain text file incorrectly detected as ruby script | ||||
| Description | The following file is a plain text file. It is not a script. File says it is a ruby script. <https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Scribunto/+/b677d96aa1c147f9ae156ab09387d48ecf3b5c84/includes/Engines/LuaCommon/lualib/luabit/readme.txt> | ||||
| Steps To Reproduce | $ file -v file-5.46 magic file from /usr/share/file/misc/magic seccomp support included $ curl -s https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Scribunto/+/b677d96aa1c147f9ae156ab09387d48ecf3b5c84/includes/Engines/LuaCommon/lualib/luabit/readme.txt?format=TEXT | base64 -d | file -b - Ruby script, ASCII text, with CRLF line terminators $ curl -s https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Scribunto/+/b677d96aa1c147f9ae156ab09387d48ecf3b5c84/includes/Engines/LuaCommon/lualib/luabit/readme.txt?format=TEXT | base64 -d | file -bi - text/x-ruby; charset=us-ascii | ||||
| Tags | magic | ||||