Several strings we use at runtime needs to be URL-encoded, and we're currently encoding them on each single URL generation. There's room for several levels of improvements, I'll start by using simple constants.