diff --git a/interfaces/common/src/common_func.cpp b/interfaces/common/src/common_func.cpp index 8850178f63da956d8b4630c3d4c9c15fedfd37b4..3a5697463bd6cf99140f917e6480074312004430 100644 --- a/interfaces/common/src/common_func.cpp +++ b/interfaces/common/src/common_func.cpp @@ -120,6 +120,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); } {