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

Test our decode with pad character in the middle

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8
    • Labels:
      None

      Description

      We don't have any tests in place for decoding something like "SGVsbG8gV29ybGQ=SGVsbG8gV29ybGQ=" where there is a pad character in the middle.

      I think our behaviour unwittingly changed for this kind of input between 1.3 and 1.4.

      Here's a unit test so we don't make that mistake again!

        Attachments

        1. codec-167.patch
          1 kB
          Julius Davies

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              juliusdavies Julius Davies
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: