Uploaded image for project: 'CAS Server'
  1. CAS-1337

Fix non-printable character definition

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.2, 4.0 RC1
    • Fix Version/s: 4.0 RC2, 4.0
    • Component/s: Authentication
    • Labels:
      None

      Description

      org.jasig.cas.authentication.principal.Response.java contains:

          /** Pattern to detect unprintable ASCII characters. */
          private static final Pattern NON_PRINTABLE =
              Pattern.compile("[\\x00-\\x19\\x7F]+");
      

      Conventional non-printable characters also include 0x1A - 0x1F, so think the pattern might be better represented as:

      "[\\x00-\\x1F\\x7F]+"
      

        Attachments

          Activity

            People

            • Assignee:
              mmoayyed Misagh Moayyed
              Reporter:
              tfpoage Tom Poage
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: