Function “encodeInetPath”
function encodeInetPath(path)
Encodes the given local path as an internet path
This function uses percent encoding to encode a path in the local file system in internet format, suitable to use in an URL.
Parameters
| Name | Type | Description |
|---|---|---|
path | string | The path to convert |
Return Value
Returns a string representing a path in internet format.