Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8282316

Operation before String case conversion

XMLWordPrintable

      In the security components, there are cases that the string case-insensitive operations are performed before the case conversion. The behavior may be not expected.

      For example, in the SignatureUtil implementation, the checkName() requires case-insensitive input. However, the method is called before the case conversion, for example:

                  sigName = checkName(sigName).toUpperCase(Locale.ENGLISH);

            xuelei Xuelei Fan
            xuelei Xuelei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: