You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2016/05/27 19:34:12 UTC

[jira] [Reopened] (SYNAPSE-1012) Add Xpath Base64 decode function

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

Andreas Veithen reopened SYNAPSE-1012:
--------------------------------------

That line of code doesn't make sense:

decodedValue = new Base64().decode(value.getBytes(charset));

If you have as input a base64 encoded string and as output a byte array, then no charset encoding is involved.

> 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
>
>
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org