CGI::encode broke real requests

Sorry, my bad, we need to use URI.escape instead of CGI::escape.