Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: padded base64 encoder #4255

Closed
rramthun opened this issue Aug 29, 2024 · 0 comments · Fixed by #4256
Closed

[Feature Request]: padded base64 encoder #4255

rramthun opened this issue Aug 29, 2024 · 0 comments · Fixed by #4256
Assignees
Milestone

Comments

@rramthun
Copy link

What would you like to happen?

Hop's calculator component has an option to encode data as base64.

In theory this allows to use this function to create HTTP basic authentication data for the rest client, e.g. (CSV file with unencoded username:password data) -> (calculator with base64 encoding) -> (REST client using http basic auth with encoded username:password)

In practice this does not work, as the base64 encoder in the calculator uses the un-padded version of base64, but padding is required by the usual HTTP RFCs.

I suggest to add a padded base64 encoder to the calculator transform and will supply a PR for this.

Issue Priority

Priority: 3

Issue Component

Component: Transforms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants