<div dir="ltr"><div>Strange!  That does seem supicious... although I wouldn't expect any sane mime detection for an ohf file anyway<br></div><div><br></div><div>git is utterly broken on the wiki. Dreamhost kills any git process because it uses too much memory.</div><div><br></div><div>My method for updating the wiki is to rsync the whole thing to my local machine, do a git update there, then rsync it back, and run the php upgrade script.</div><div><br></div><div>If $wgVerifyMimeType is in LocalSettings.php then it would be okay to change it, LocalSettings.php is not under version control anyway.</div><div><br></div><div>I wonder if i originally turned that off because it was blocking unknown files?<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jan 7, 2019 at 7:40 PM Ralph Versteegen <<a href="mailto:teeemcee@gmail.com">teeemcee@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It was pointed out to me that<br>
<a href="https://rpg.hamsterrepublic.com/ohrrpgce/File:PXFONT.ohf" rel="noreferrer" target="_blank">https://rpg.hamsterrepublic.com/ohrrpgce/File:PXFONT.ohf</a> lists the<br>
following MIMe type:<br>
<br>
PXFONT.ohf ‎(file size: 2 KB, MIME type: application/sla)<br>
Warning: This file type may contain malicious code. By executing it,<br>
your system may be compromised.<br>
<br>
I wonder where it got that type. On my system "file -bi PXFONT.ohf"<br>
returns "application/octet-stream; charset=binary".<br>
Wiki info: <a href="https://www.mediawiki.org/wiki/Manual:MIME_type_detection" rel="noreferrer" target="_blank">https://www.mediawiki.org/wiki/Manual:MIME_type_detection</a><br>
I note that on the wiki "$wgVerifyMimeType = false;" is set and<br>
includes/mime.* don't exist.<br>
<br>
(I also note that "git status" on the wiki installation returns an<br>
error. I'm guessing the whole directory tree has been translated from<br>
another system with a different git version? I wouldn't want to start<br>
independently mess with wiki config anyway.)<br>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>