gsub removes any bad url characters