Changed get_code to percent encode plusses