Fix incoming bounce processing
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 29 Nov 2023 03:24:42 +0000 (16:24 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 29 Nov 2023 03:49:06 +0000 (16:49 +1300)
commit234f34e1edff59dfb976968f6ec683479be402fb
treef398dbe5a25529df534fc9f531f119743fad2ae3
parentf7cd9ed4bb91eede0b26552b11e3724d461d75ee
Fix incoming bounce processing

We switched to a less misleading method of calculating the hash here
https://github.com/civicrm/civicrm-core/pull/27533/files#diff-942a60901c838eb11bfd85cd3e84672748d9f1d49f8cbe62684bc898b02c7a90R58
but did not spot that the regex was expecting only letters a-f whereas
the new method is a-z
CRM/Utils/Mail/IncomingMail.php
tests/phpunit/CRM/Utils/Mail/EmailProcessorTest.php
tests/phpunit/CRM/Utils/Mail/data/bounces/bounce_no_verp.txt
tests/phpunit/CRM/Utils/Mail/data/bounces/test_invalid_character.eml
tests/phpunit/CRM/Utils/Mail/data/bounces/test_nested_message.eml
tests/phpunit/CRM/Utils/Mail/data/bounces/test_sample_message.eml
tests/phpunit/CRM/Utils/Mail/data/bounces/test_utf8mb4_character.txt