static public function formatPath($value)
    {
        $value = preg_replace('/\s+/u', '_', $value);
        $value = preg_replace('/[^a-z0-9\.\:\-\_\s\/\\\\\x{4e00}-\x{9fa5}]/iu', '', $value);
        $value = preg_replace('/\/{2,}/', '/', $value);
        $value = preg_replace('/(\.\/?){2,}/', '', $value);
        return $value;
    }