lightning-decoder icon indicating copy to clipboard operation
lightning-decoder copied to clipboard

follow redirects

Open pseudozach opened this issue 2 years ago • 3 comments

When testing [email protected] which resolves to https://btc.us/.well-known/lnurlp/bilall -> sends 302 redirect to another address, should the decoder follow the redirect?

pseudozach avatar Aug 30 '22 17:08 pseudozach

Good question. I think if the protocol allows for redirects to be used, then the decoder should handle it. PRs are welcome :)

andrerfneves avatar Oct 02 '23 01:10 andrerfneves

Screenshot 2023-10-01 at 6 22 47 PM

Is it not already doing so though? Redirects to getalby here?

andrerfneves avatar Oct 02 '23 01:10 andrerfneves

Great if that's the case.

pseudozach avatar Oct 02 '23 04:10 pseudozach