Commons Codec
  1. Commons Codec
  2. CODEC-140

isBase64 returns true for any UTF8 string

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development