From 04c9c5ed46d28499ba5cb276d691339216c40d6c Mon Sep 17 00:00:00 2001 From: cuiruibin Date: Fri, 25 Apr 2025 10:07:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AA=92=E4=BD=93uri=E8=BD=ACpath=E7=BC=96?= =?UTF-8?q?=E7=A0=81=E8=A7=84=E5=88=99=E6=B7=BB=E5=8A=A0=20Signed-off-by:?= =?UTF-8?q?=20cuiruibin=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- interfaces/common/src/common_func.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/interfaces/common/src/common_func.cpp b/interfaces/common/src/common_func.cpp index 01307b9ca..6efd9d895 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); } { -- Gitee