[
https://issues.apache.org/jira/browse/SYNAPSE-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Veithen reopened SYNAPSE-643:
-------------------------------------
Since base64 is an encoding scheme for binary data, the XPath function either
needs an encoding argument, or it should use a standard encoding such as UTF-8.
Using String#getBytes() is a programming error (except when preparing data for
communication with other processes on the same system) because it uses the
platform's default charset encoding. The same is true for new String(byte[]).
> Create a XPath function for base64 encode strings
> -------------------------------------------------
>
> Key: SYNAPSE-643
> URL: https://issues.apache.org/jira/browse/SYNAPSE-643
> Project: Synapse
> Issue Type: Bug
> Reporter: Supun Kamburugamuva
>
> It is nice to have a XPath function for encoding strings to base64.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]