[
https://issues.apache.org/jira/browse/SYNAPSE-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15304719#comment-15304719
]
Andreas Veithen commented on SYNAPSE-1012:
------------------------------------------
byte[] decodedValue = new Base64().decode(value.getBytes());
That is still not correct because getBytes() uses the platform default
encoding. The correct way to do this is to use new Base64().decode(value).
> Add Xpath Base64 decode function
> --------------------------------
>
> Key: SYNAPSE-1012
> URL: https://issues.apache.org/jira/browse/SYNAPSE-1012
> Project: Synapse
> Issue Type: Improvement
> Reporter: prabath ariyarathna
> Assignee: Hiranya Jayathilaka
> Fix For: 3.0
>
> Attachments: base64_decode_function.diff, remove_unwanted_charset.diff
>
>
> We only have xpath Encode function with the current synapse implementation.
> Once this function will be added to the synapse. We can simply decode the
> base64 encoded string.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]