[Svn] [roundcube/roundcubemail] c13446: Fix bug in miemetype name comparator

Aleksander Machniak noreply at github.com
Sun Jul 7 15:21:03 CEST 2019

  Branch: refs/heads/master
  Home:   https://github.com/roundcube/roundcubemail
  Commit: c1344643a1999b3bff90842aead291c332eae23d
  Author: Aleksander Machniak <alec at alec.pl>
  Date:   2019-07-07 (Sun, 07 Jul 2019)

  Changed paths:
    M program/steps/mail/get.inc

  Log Message:
  Fix bug in miemetype name comparator

The code was removing the first matching prefix (x- or x-ms-), which
caused 'x-ms-bmp' to end up as 'ms-bmp'. It should be 'bmp'. Fixed by
reverting the order of tokens in the regexp.

More information about the svn mailing list