Skip to content

[bug]: base64 parsing fails at /v2/invoices/lookup?payment_hash=X (base64 typesafe + urlencoded, still) #9423

Answered by ziggie1984
martinoshub asked this question in Q&A
Discussion options

You must be logged in to vote

try replacing + and / with the following:

echo -n "This is some text to encode" | base64 | tr '+/' '-_'

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@martinoshub
Comment options

@martinoshub
Comment options

Answer selected by martinoshub
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Unintended code behaviour needs triage
2 participants
Converted from issue

This discussion was converted from issue #9421 on January 16, 2025 23:12.