• 
      

    Support additional mimetypes for text-based file attachments.

    Review Request #12730 — Created Nov. 18, 2022 and submitted

    Information

    Review Board
    release-4.0.x

    Reviewers

    This adds support for various alternative JSON mimetypes and YAML
    mimetypes, ensuring that thumbnails display content correctly and that
    they can be reviewed as text files when using an application/
    mimetype.

    The text-based review UI uses the text-based mimetype as the basis for
    the list of supported mimetypes, so these won't get out of sync.

    Unit tests pass.

    Manually tested with the new mimetypes, ensuring that thumbnails and
    reviews worked correctly.

    Verified the fix with a customer.

    Summary ID
    Support additional mimetypes for text-based file attachments.
    This adds support for various alternative JSON mimetypes and YAML mimetypes, ensuring that thumbnails display content correctly and that they can be reviewed as text files when using an `application/` mimetype. The text-based review UI uses the text-based mimetype as the basis for the list of supported mimetypes, so these won't get out of sync.
    b44fba9c03d533166a56bd96ed57a48bc989dc63
    chipx86
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-4.0.x (0461b24)