Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2020

typo: correction to upper alpha range in Rot13PasswordEncoder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0.M2, 4.0.M3
    • 4.0.M3
    • Core Library
    • None

    Description

      Typo in:
      cayenne-server/src/main/java/org/apache/cayenne/configuration/Rot13PasswordEncoder.java
      in the current (as of 07/13/2015) dev snapshot. Line 71:

                  else if ((c >= 'n' && c <= 'z') || (c >= 'A' && c <= 'Z'))
      

      should be:

                  else if ((c >= 'n' && c <= 'z') || (c >= 'N' && c <= 'Z'))
      

      Patch attached.

      Attachments

        1. patch.txt
          1.0 kB
          Patrick Robinson

        Activity

          People

            SavvaKolbachev Savva Kolbachev
            pgrvt Patrick Robinson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: