Whoops, url_encoding was a bad idea.