Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16439

(7.2.z) [UNDERTOW-1490] FlexBase64 doesn't use URL table for encoding ByteBuffer

    Details

      Description

      When debugging issue WFLY-11639 I found a bug in the FlexBase64 encoder on line 264.

      The code is:

          public static String encodeStringURL(ByteBuffer source, boolean wrap) {
              return Encoder.encodeString(source, wrap, false);
          }
      

      But should be:

          public static String encodeStringURL(ByteBuffer source, boolean wrap) {
              return Encoder.encodeString(source, wrap, true);
          }
      

      I'll send a pull request.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  spyrkob Bartosz Spyrko-Smietanko
                  Reporter:
                  spyrkob Bartosz Spyrko-Smietanko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: