Properly quote percent-signs in URLs.