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

XMLWordPrintable

      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.

              spyrkob Bartosz Spyrko-Smietanko
              spyrkob Bartosz Spyrko-Smietanko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: