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

Base64 user-facing docs should say that decode can handle URL Safe encoding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4, 1.5, 1.6, 1.7, 1.8, 1.9
    • 1.10

    Description

      Base64 has static methods specific to doing URLSafe encoding, but has no corresponding URLSafe decoding method.

      This is be cause the decoding table transparently handles both URLSafe and standard alphabets. Unfortunately this is only documented as a javadoc on a private member.

      There should be a mention of it

      • In the class javadocs
      • on the static decode methods
      • on the static URLSafe encode methods

      Attachments

        Activity

          People

            Unassigned Unassigned
            busbey Sean Busbey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: