I'm using the Apache CAS module to connect to a service. The problem I've detected is that the ticket contains ":" as part of the ticket content. Therefore, the validation is failing.
The validCasTicketFormat function checks the ticket format. The current code restricts the postfix state to alphanumeric characters (isalnum), hyphens (-), and periods (.). The colon (:) character is not allowed in that state, causing tickets with the format being generated to be considered invalid.
I'm sharing an example of the ticket:
ticket=ST-450102-gFMHJgdIpbqHWfmweZaJ-cas.01:cas.01