madrob commented on a change in pull request #2252: URL: https://github.com/apache/lucene-solr/pull/2252#discussion_r566409696
########## File path: solr/core/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java ########## @@ -298,7 +299,7 @@ private static String getFieldFlags( SchemaField f ) BytesRef bytes = field.binaryValue(); if (bytes != null) { - f.add( "binary", Base64.byteArrayToBase64(bytes.bytes, bytes.offset, bytes.length)); + f.add( "binary", StandardCharsets.ISO_8859_1.decode(Base64.getEncoder().encode(bytes.wrapToByteBuffer())).toString()); Review comment: I don't think this is correct, why are we decoding something that we just encoded? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org