diff --git a/interfaces/common/src/common_func.cpp b/interfaces/common/src/common_func.cpp index 01307b9ca6fb9db416e5581932d35a90df6a7e01..6efd9d89579b32c618a3b99bea51b187428a2a27 100644 --- a/interfaces/common/src/common_func.cpp +++ b/interfaces/common/src/common_func.cpp @@ -116,6 +116,7 @@ string CommonFunc::GetUriFromPath(const string &path) string realPath = path; NormalizePath(realPath); if (realPath.find(MEDIA_FUSE_PATH_HEAD) == 0) { + realPath = SandboxHelper::Encode(realPath); return realPath.replace(realPath.find(MEDIA_FUSE_PATH_HEAD), MEDIA_FUSE_PATH_HEAD.length(), MEDIA_AUTHORITY); } {