protected function filterPath($path)
    {
        $pathStr    = $this->filterString($path);
        $pathDecode = rawurldecode($pathStr);

        $dataPath = array_map(
            function ($value) {
                return rawurlencode($value);
            },
            explode('/', $pathDecode)
        );

        return implode('/', $dataPath);
    }
protected function filterPath($path)
    {
        $pathStr    = $this->filterString($path);
        $pathDecode = rawurldecode($pathStr);

        $dataPath = array_map(
            function ($value) {
                return rawurlencode($value);
            },
            explode('/', $pathDecode)
        );

        return implode('/', $dataPath);
    }
protected function filterPath ( $ path ) { $ pathStr = $ this -> filterString ( $ path ) ; $ pathDecode = rawurldecode ( $ pathStr ) ; $ dataPath = array_map ( function ( $ value ) { return rawurlencode ( $ value ) ; } , explode ( '/' , $ pathDecode ) ) ; return implode ( '/' , $ dataPath ) ; }
Filtre un chemin.

@param string|null $path Chemin à filtrer.

@return string Chemin normalisé.
Filtre un chemin .