Support application/x-javascript for the text review UI

Review Request #9611 - Created Feb. 10, 2018 and submitted

Barret Rennie
Review Board
release-4.0.x
e9a4ce9...
reviewboard

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

Barret Rennie
David Trowbridge
  1. Ship It!
  2. 
      
Barret Rennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (194413b)
Loading...