• 
      

    Support application/x-javascript for the text review UI

    Review Request #9611 — Created Feb. 10, 2018 and submitted — Latest diff uploaded

    Information

    Review Board
    release-4.0.x
    e9a4ce9...

    Reviewers

    JavaScript files seem to have mimetype application/x-javascript when
    uploaded instead of the old text/javascript. This patch makes
    JavaScript files uploaded as attachments viewable and reviewable again.

    Uploaded a JavaScript attachment and saw it was detected as
    application/x-javascript. With this patch I was able to review it