Improve the request progress message ID check. Currently, 100003893070974167M is accepted as a valid message ID, because the string is simply tested for containing an 18-digit number.
Approach
Ensure the message ID takes up the entire string, and allow for 18- and 19-digit message IDs (and above).
Purpose
Improve the request progress message ID check. Currently,
100003893070974167M
is accepted as a valid message ID, because the string is simply tested for containing an 18-digit number.Approach
Ensure the message ID takes up the entire string, and allow for 18- and 19-digit message IDs (and above).