Ruby CGI.escape != URI.escape CGI.escape converts a space to a plus sign ‘+’ URI.escape converts a space to ‘%20’