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

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


  Branch: refs/heads/release-1.3
  Home:   https://github.com/roundcube/roundcubemail
  Commit: c25a6cf09b9ad1d8aef72f4a37075b30eab2c15e
      https://github.com/roundcube/roundcubemail/commit/c25a6cf09b9ad1d8aef72f4a37075b30eab2c15e
  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