• Jérome Perrin's avatar
    mimetypes_registry: merge image/x-ms-bmp in Windows BMP image · 0991f839
    Jérome Perrin authored
    We had two mimetypes entries, which caused inconsistencies depending on
    wether the lookup was done by mimetype, by glob or by extension.
    
    We had:
    
    - name:
       "Windows BMP image"
    - mimetypes:
        image/bmp
        image/x-bmp
        image/x-MS-bmp
    - extensions:
    - globs:
        *.bmp
    
    and
    
    - name:
       "image/x-ms-bmp"
    - mimetypes:
        image/x-ms-bmp
    - extensions:
        bmp
    - globs:
    
    With this commit they are merged into one:
    
    - name:
       "Windows BMP image"
    - mimetypes:
        image/x-ms-bmp
        image/bmp
        image/x-bmp
        image/x-MS-bmp
    - extensions:
        bmp
    - globs:
        *.bmp
    
    This way we only have one consistent mimetype.
    
    For compatibility with extension lookups (that are done in
    Document_guessMimeType interaction workflow from DMS), image/x-ms-bmp is
    kept as default. This might not be the best choice, according to
    https://www.iana.org/assignments/media-types/media-types.xhtml
    0991f839
mimetypes_registry.xml 1.84 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.