encodeUrlPath

URL-encode each /-separated path segment independently and rejoin. Spaces become %20 (not +); other special chars follow URLEncoder.encode(…, UTF-8).

Generated with STIG