Fixed URL formatting bugs

The extra slash and close parenthesis were making valid codes get marked invalid