Fix URL encoding bug (#2).

Encoding the URL here is incorrect. It unnecessarily mangles URLs.