diff --git a/src/utils/URLHelper.ts b/src/utils/URLHelper.ts index 6d515bb..0f94215 100644 --- a/src/utils/URLHelper.ts +++ b/src/utils/URLHelper.ts @@ -10,7 +10,7 @@ export function parse(): MetaData & { path: string[] } { repoName, type, ...path // should be [...branchName.split('/'), ...filePath.split('/')] - ] = pathname.split('/') + ] = unescape(decodeURIComponent(pathname)).split('/') return { userName, repoName,