You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Bill Blough (Jira)" <ji...@apache.org> on 2025/09/21 16:43:00 UTC

[jira] [Updated] (AXIS2C-1666) base64 ignore some whitespaces

     [ https://issues.apache.org/jira/browse/AXIS2C-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Blough updated AXIS2C-1666:
--------------------------------
    Fix Version/s:     (was: 1.7.0)

> 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
>            Priority: Major
>              Labels: patch
>
> 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
(v8.20.10#820010)

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