How to encode URLs for LinkedIn share buttons in Discourse

I don’t see an application of this? Is it redundant?