[dna-issues] [JBoss JIRA] Created: (DNA-513) REST server does not correctly encode binary values

Randall Hauch (JIRA) jira-events at lists.jboss.org
Thu Sep 3 17:04:35 EDT 2009


REST server does not correctly encode binary values
---------------------------------------------------

                 Key: DNA-513
                 URL: https://jira.jboss.org/jira/browse/DNA-513
             Project: DNA
          Issue Type: Bug
          Components: Web Application
    Affects Versions: 0.5
            Reporter: Randall Hauch
            Assignee: Brian Carothers
             Fix For: 0.6


The REST server (or rather web application) does not properly encode binary values in the JSON results, and instead is embedding the toString() version of the byte[].  The binary values should instead be encoded in Base64, and the REST client should be able to then read (or upload) binary values using this approach.

(If the binary value is already a Base64-encoded representation, then the JSON content will just be a Base64-encoded representation of the value that happens to be Base64-encoded. Shouldn't be a problem.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the dna-issues mailing list