Removed old hacks in URL generation.

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>