let originalString = "test/test" let escapedString = originalString.addingPercentEncoding(withAllowedCharacters: .urlHostAllowed) print(escapedString!)
var urlString = originalString.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)