fix: properly escape collectionName in query string parameters (#14476)

This commit is contained in:
QuantumGhost 2025-02-27 18:59:07 +08:00 • committed by GitHub
commit 002b16e1c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 28 additions and 3 deletions

View file

@ -0,0 +1,5 @@
export const buildProviderQuery = (collectionName: string): string => {
const query = new URLSearchParams()
query.set('provider', collectionName)
return query.toString()
}