It sounds like your browser is uploading the file and reporting its mimetype incorrectly. Could you (or an admin on your Review Board server) check out the file attachment under the database section of the admin site and see what the stored mimetypes are? There may be others we have to whitelist for the text review UI.
-David On Fri, Feb 16, 2018 at 12:51 AM Ondrej Volf <on.v...@gmail.com> wrote: > Hello, > > I've installed Reviewboard 3.0 on Windows server and everything seems to > work. However when I am creating new review - uploaded .c and .h files are > uploaded, but are not recognized and their field is left blank as is shown > in attached picture. In Apache error log I also found these errors: > > [Fri Feb 16 09:24:23.118127 2018] [:error] [pid 9784:tid 964] > ERROR:root:Unable to load Mimetype Handler for : PDFMimetype: rejecting > document exceptions.c because of incorrect extension > [Fri Feb 16 09:24:23.133165 2018] [:error] [pid 9784:tid 964] > ERROR:root:Error instantiating FileAttachmentReviewUI <class > 'rbpowerpack.pdf.reviewui.PDFReviewUI'>: PDFReviewUI: rejecting document > exceptions.c because of incorrect extension > > > > .txt files are recognized correctly. > > What is weird is the fact, that when logged from another computer from > same domain, the .c and .h files are uploaded and recognized correctly. > Only uploading from my station doesn't behave correctly. > > Any ideas why it doesn't work and why only one station is not working, > since this seems like an issue on server? > > Thanks, > Ondrej > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "Review Board Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to reviewboard+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "Review Board Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.