Skip to content

About generating <podcast:guid>: how to deal with URL encoding and punycode? #440

Answered by daveajones
JonOfUs asked this question in Q&A
Discussion options

You must be logged in to vote

I’m not sure why anything in the feed url would be re-encoded. Why would the punicode or percent need to be modified before calculating the guid? The feed url needs to be in its native form as the input to the UUIDv5 algo so that we all get the same thing as output. In a sense it’s just the seed value. Since UUIDv5 uses SHA-1, the input doesn’t need to be in any particular form. It will just be treated as byte data in 512 bit chunks.

From RFC 4122: “Convert the name to a canonical sequence of octets”

Forgive me if I’ve misunderstood the issue.

Replies: 2 comments 5 replies

Comment options

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

@keunes
Comment options

Comment options

You must be logged in to vote
3 replies
@JonOfUs
Comment options

@jamescridland
Comment options

@JonOfUs
Comment options

Answer selected by JonOfUs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants