FIX: ensures we don't keep dots in last part of channel URL (PR #512)

GitHub

encoreURIComponent wouldn’t convert it too, so AFAIK this is the only solution for this specific issue