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 04:18:50 +0000 (17:18 +1300)
commitb7710bfede0a2b518bdc350ec2fc8100aed218ed
tree310339aa3b85c3a75753f07471d5481933c77afb
parent96087db59731da8ba882203be81beeedacdec2a1
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