Strip special characters from URLs.
Fixes https://forums.plex.tv/index.php/topic/115056-nbc-channel-stack-traces/