Support base64 URLs with padding
in progress
Ross Burton
If I use Python's base64 standard functions, or the unix base64 command, then often padding (equals signs) is added to the string:
$ printf https://www.burtonini.com/temp/early-green.rss | base64
aHR0cHM6Ly93d3cuYnVydG9uaW5pLmNvbS90ZW1wL2Vhcmx5LWdyZWVuLnJzcw==
However, if I use this padded string on pod.link then the decoding fails and it doesn't work. Strip the padding and the link works.
For example, https://pod.link/aHR0cHM6Ly93d3cuYnVydG9uaW5pLmNvbS90ZW1wL2Vhcmx5LWdyZWVuLnJzcw== redirects back to the home page, but https://pod.link/aHR0cHM6Ly93d3cuYnVydG9uaW5pLmNvbS90ZW1wL2Vhcmx5LWdyZWVuLnJzcw works.
This makes integration somewhat annoying, as the padding has to be manually removed. The padding doesn't change the output, so this seems like a bug in the decoder.
D
Doug
updated the status to
in progress
Hi Ross,
We have some movement on this and will report back when its shipped!
Best,
Doug - Podlink