Support application/x-javascript for the text review UI

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

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

brennie
david
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.0.x (194413b)