[dovecot/core] d0a51b: lib-mail: Fix rfc822_parse_dot_atom() to reject if...

GitHub noreply at github.com
Wed Jul 4 12:30:06 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: d0a51bd2b0dd33f619e297870d3f039681ca6a1c
      https://github.com/dovecot/core/commit/d0a51bd2b0dd33f619e297870d3f039681ca6a1c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib-mail/rfc822-parser.c
    M src/lib-mail/test-rfc822-parser.c

  Log Message:
  -----------
  lib-mail: Fix rfc822_parse_dot_atom() to reject if dot isn't followed by atom


  Commit: cde9ffe1b0a7d00bd7f48a9ef559e2626229ab35
      https://github.com/dovecot/core/commit/cde9ffe1b0a7d00bd7f48a9ef559e2626229ab35
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/doveadm/doveadm-mail-fetch.c
    M src/lib-lda/mail-deliver.c
    M src/lib-mail/message-address.c
    M src/lib-mail/message-address.h
    M src/lib-mail/message-part-data.c
    M src/lib-mail/test-message-address.c
    M src/lib-smtp/smtp-params.c
    M src/lib-storage/index/index-search.c
    M src/lib-storage/index/index-sort.c
    M src/lib-storage/mail-storage-settings.c
    M src/plugins/fts/fts-build-mail.c

  Log Message:
  -----------
  lib-mail: message_address_parse() - Change fill_missing parameter to flags

This change allows adding more flags. The API is also backwards compatible
in a way that the old FALSE/TRUE values still map to compatible 0/1 flags.


  Commit: 0d9218abe8f20ea8e2b72c2217e1ff51265b7541
      https://github.com/dovecot/core/commit/0d9218abe8f20ea8e2b72c2217e1ff51265b7541
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib-mail/message-address.c
    M src/lib-mail/message-address.h
    M src/lib-mail/test-message-address.c

  Log Message:
  -----------
  lib-mail: Add MESSAGE_ADDRESS_PARSE_FLAG_NON_STRICT_DOTS

This code is somewhat copy&pasted from parse_local_part() in Pigeonhole.


  Commit: b25bce8fb3821d07d786dc119b20d371bf908c90
      https://github.com/dovecot/core/commit/b25bce8fb3821d07d786dc119b20d371bf908c90
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-04 (Wed, 04 Jul 2018)

  Changed paths:
    M src/lib-mail/message-address.c
    M src/lib-mail/message-address.h
    M src/lib-mail/test-message-address.c

  Log Message:
  -----------
  lib-mail: Change MESSAGE_ADDRESS_PARSE_FLAG_NON_STRICT_DOTS to _FLAG_STRICT_DOTS

Generally we want it to be enabled everywhere, so it's easier to just enable
it by default.

(This is kept as a separate commit from the previous one so it'll be easy to
revert this in case we actually don't want this to be the default.)


Compare: https://github.com/dovecot/core/compare/5a171716c267...b25bce8fb382
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list