Fix for parsing a netmail path that is 5D but without a .0 for a boss
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 45s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m50s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
Deon George 2024-09-26 09:54:44 +10:00
parent bfab8c7d26
commit 494cb317d1

View File

@ -21,7 +21,7 @@ final class Netmail extends Model implements Packet
private const LOGKEY = 'MN-'; private const LOGKEY = 'MN-';
public const UPDATED_AT = NULL; public const UPDATED_AT = NULL;
private const PATH_REGEX = '/^([0-9]+:[0-9]+\/[0-9]+(\..*)?)\s+@([0-9.a-zA-Z]+)\s+(.*)$/'; private const PATH_REGEX = '/^([0-9]+:[0-9]+\/[0-9]+(\.?[0-9@a-zA-Z]*)?)\s+@([0-9.a-zA-Z]+)\s+(.*)$/';
/** /**
* Kludges that we absorb in this model * Kludges that we absorb in this model