View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000396 | file | General | public | 2022-10-18 08:13 | 2022-10-18 14:12 |
Reporter | mwfearnley | Assigned To | christos | ||
Priority | low | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Platform | Linux | OS | Ubuntu (WSL) | OS Version | 20.04.4 LTS |
Product Version | 5.38 | ||||
Summary | 0000396: JS source file misdetected as JPEG2000 | ||||
Description | The source code at https://jplayer.org/latest/dist/jplayer/jquery.jplayer.min.js is misdetected as "JPEG 2000 image". The first six bytes ("/*! jP") is enough to trigger this identification. | ||||
Steps To Reproduce | $ wget https://jplayer.org/latest/dist/jplayer/jquery.jplayer.min.js $ file jquery.jplayer.min.js jquery.jplayer.min.js: JPEG 2000 image $ printf "/*! jP" > jp.txt $ file jp.txt jp.txt: JPEG 2000 image | ||||
Tags | No tags attached. | ||||
|
|
|
Can't reproduce in file 5.43. |
|
OK, thanks. I've managed to build the code from Github, and on a hunch I found the commit (and, I suspect, the removed line) that fixed it: https://github.com/file/file/commit/b62c39d1e13a7547e634ce36272f94f3fd39cbc4#diff-b5e20963b12b6811f0ca24ddd36790e9f3016bd5bb7af6083ca585c50ed34d4fL33 It's beyond my understanding (of JPEG 2000, or Quicktime formats, or of file itself) to say much more though.. Does it warrant a regression test? |
|
Sure, I just added one. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-10-18 08:13 | mwfearnley | New Issue | |
2022-10-18 08:13 | mwfearnley | File Added: jquery.jplayer.min.js | |
2022-10-18 08:13 | mwfearnley | File Added: jp.txt | |
2022-10-18 13:04 | christos | Assigned To | => christos |
2022-10-18 13:04 | christos | Status | new => assigned |
2022-10-18 13:04 | christos | Status | assigned => feedback |
2022-10-18 13:04 | christos | Note Added: 0003840 | |
2022-10-18 13:47 | mwfearnley | Note Added: 0003841 | |
2022-10-18 13:47 | mwfearnley | Status | feedback => assigned |
2022-10-18 14:12 | christos | Note Added: 0003842 |