When viewing https://archive.softwareheritage.org/browse/origin/https://gitlab.inria.fr/vpadois/ias-padois-et-al.git/content/ias_state_of_art.bib/ , the content is replaced by this error: "Content with mime type text/plain can not be displayed."
Description
Description
Revisions and Commits
Revisions and Commits
Related Objects
Related Objects
Event Timeline
Comment Actions
Hopefully, the text/plain mimetype files are usually correctly displayed (see this file for instance).
Here the error comes from the fact that libmagic erroneously detected the file as binary.
file --mime-type --mime-encoding ~/Téléchargements/ias_state_of_art.bib /home/antoine/Téléchargements/ias_state_of_art.bib: application/octet-stream; charset=binary
The real problem here is the displayed error message in the webapp and it should be improved.
Comment Actions
Submitted to libmagic: https://bugs.astron.com/view.php?id=123
We should still fix the error message, though.