Encode characters in a URL path. This is the same as utils::URLencode() with reserved = TRUE except that / is preserved.

urlEncodePath(x)

Arguments

x

A character vector.