diff --git a/web/app/components/tools/edit-custom-collection-modal/index.tsx b/web/app/components/tools/edit-custom-collection-modal/index.tsx index e84e15da17..830029e361 100644 --- a/web/app/components/tools/edit-custom-collection-modal/index.tsx +++ b/web/app/components/tools/edit-custom-collection-modal/index.tsx @@ -169,7 +169,7 @@ const EditCustomCollectionModal: FC = ({ return '' try { - const path = new URL(url).pathname + const path = decodeURI(new URL(url).pathname) return path || '' } catch (e) {