Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

feat: show path variable friendly in tool edit (#7344)

wellCh4n9e6b755f6298
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 e84e15da17f..830029e361e 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<Props> = ({
return ''
try {
- const path = new URL(url).pathname
+ const path = decodeURI(new URL(url).pathname)
return path || ''
}
catch (e) {