private function decodeUrlPath($urlPath)
    {
        $urlPath = str_replace(strtoupper(self::URL_ENCODED_SLASH), self::URL_ENCODED_SLASH, $urlPath);
        $urlPathParts = explode(self::URL_ENCODED_SLASH, $urlPath);

        array_walk($urlPathParts, function (&$urlPathPart) {
            $urlPathPart = rawurldecode($urlPathPart);
        });

        return implode(self::URL_ENCODED_SLASH, $urlPathParts);
    }
private function decodeUrlPath($urlPath)
    {
        $urlPath = str_replace(strtoupper(self::URL_ENCODED_SLASH), self::URL_ENCODED_SLASH, $urlPath);
        $urlPathParts = explode(self::URL_ENCODED_SLASH, $urlPath);

        array_walk($urlPathParts, function (&$urlPathPart) {
            $urlPathPart = rawurldecode($urlPathPart);
        });

        return implode(self::URL_ENCODED_SLASH, $urlPathParts);
    }
private function decodeUrlPath ( $ urlPath ) { $ urlPath = str_replace ( strtoupper ( self :: URL_ENCODED_SLASH ) , self :: URL_ENCODED_SLASH , $ urlPath ) ; $ urlPathParts = explode ( self :: URL_ENCODED_SLASH , $ urlPath ) ; array_walk ( $ urlPathParts , function ( & $ urlPathPart ) { $ urlPathPart = rawurldecode ( $ urlPathPart ) ; } ) ; return implode ( self :: URL_ENCODED_SLASH , $ urlPathParts ) ; }
Decode a URL path without decoding encoded forward slashes

@param string $urlPath

@return string
Decode a URL path without decoding encoded forward slashes