Uploaded image for project: 'Commons Codec'
  1. Commons Codec
  2. CODEC-140

isBase64 returns true for any UTF8 string

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      windows/linux

      Description

      I just called Base64.isBase64("Hello") for instance and it returns true. I thought it would return true only if it is valid base64 encoded string.

        Attachments

          Activity

            People

            • Assignee:
              juliusdavies Julius Davies
              Reporter:
              mohitanchlia Mohit Anchlia
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: