julien soula created AXIS2C-1666:
------------------------------------

             Summary: base64 ignore some whitespaces
                 Key: AXIS2C-1666
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1666
             Project: Axis2-C
          Issue Type: Improvement
          Components: util
    Affects Versions: 1.6.0
            Reporter: julien soula


fonctions axutil_base64_decode_len() and
axutil_base64_decode_binary() in util/src/base64.c stop decoding
at the first invalid character. That leads to incorrect decoding
for e.g. certificats which break line with newline character.

I propose to ignore whitespaces (' \n\t') in counting and
deconding (find patch against git version 
3f9608128b1790392e3fad9863432e82cebb706d here :
http://j2s2.geekjide.com/base64_whitespaces.patch)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: c-dev-h...@axis.apache.org

Reply via email to