mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 11:26:52 +08:00
fix: properly escape collectionName in query string parameters (#14476)
This commit is contained in:
5
web/service/_tools_util.ts
Normal file
5
web/service/_tools_util.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const buildProviderQuery = (collectionName: string): string => {
|
||||
const query = new URLSearchParams()
|
||||
query.set('provider', collectionName)
|
||||
return query.toString()
|
||||
}
|
||||
Reference in New Issue
Block a user