Skip to content

TagSpaces is an offline, open source, document manager with tagging support

master-update-platform fix opening folders with percent in the name (#1796)

Stanimir63e2e3890117
diff --git a/app/components/EntryContainer.tsx b/app/components/EntryContainer.tsx
index 0acd0fba7..4fb034f3f 100644
--- a/app/components/EntryContainer.tsx
+++ b/app/components/EntryContainer.tsx
@@ -1356,7 +1356,7 @@ function EntryContainer(props: Props) {
: i18n.t('core:deleteDirectoryContentConfirm', {
dirPath: openedFile.path
? extractDirectoryName(
- decodeURIComponent(openedFile.path),
+ openedFile.path,
PlatformIO.getDirSeparator()
)
: ''
diff --git a/app/perspectives/grid-perspective/components/GridPagination.tsx b/app/perspectives/grid-perspective/components/GridPagination.tsx
index 149ec578a..1807521d2 100644
--- a/app/perspectives/grid-perspective/components/GridPagination.tsx
+++ b/app/perspectives/grid-perspective/components/GridPagination.tsx
@@ -333,7 +333,7 @@ function GridPagination(props: Props) {
};
const folderName = extractDirectoryName(
- decodeURIComponent(props.currentDirectoryPath),
+ props.currentDirectoryPath,
PlatformIO.getDirSeparator()
);
diff --git a/package.json b/package.json
index faadf6e33..a9ab2b370 100644
--- a/package.json
+++ b/package.json
@@ -156,7 +156,7 @@
"@mui/lab": "^5.0.0-alpha.92",
"@mui/material": "^5.9.2",
"@mui/styles": "^5.9.2",
- "@tagspaces/tagspaces-platforms": "2.0.39",
+ "@tagspaces/tagspaces-platforms": "2.0.45",
"aws-amplify": "^4.3.8",
"aws-sdk": "^2.1036.0",
"babel-polyfill": "^6.26.0",
@@ -216,7 +216,7 @@
"tiff.js": "^1.0.0",
"ts-react-splitter": "^3.0.0",
"use-state-with-callback": "^2.0.3",
- "uuid": "^8.3.2",
+ "uuid": "^9.0.0",
"winattr": "^3.0.0"
},
"devDependencies": {