Sharing link on Twitter doesn't work for encoded slugs

This is not twitter’s bug.
When sharing with Twitter, since url is recognized as a character string, Twitter can not be recognized as a URL.