IsValid("creditcard") does not support Mastercard new 2-series BIN range

Description

https://www.mastercard.us/en-us/issuers/get-support/2-series-bin-expansion.html

This is a terrible way to represent the code changes. I am in the process of setting up an enviroment where I can build and test the change.

core/src/main/java/lucee/runtime/op/validators/ValidateCreditCard.java
119: new LCR(222100000000000L, 272099999999999L, 16, MASTERCARD, true),
242: // MASTERCARD 2221-2720 51-55 16 mod 10

test/functions/IsValid.cfc
197: assertTrue(IsValid(“creditcard”,‘2223000048400011’));

Environment

None

Status

Assignee

Michael Offner

Reporter

Jim Connor

Labels

None

Priority

New
Configure