Convert a string into web-safe URL