Skip to content

Commit 9971193

Browse files
committed
fix(cls): use safe mode querystring
1 parent 211c58f commit 9971193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cls/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export class Cls {
225225
json: data || undefined,
226226
};
227227
if (query) {
228-
reqOption.url = `https://${host}${path}?${querystring(query)}`;
228+
reqOption.url = `https://${host}${path}?${querystring(query, true)}`;
229229
}
230230

231231
if (options.token) {

0 commit comments

Comments
 (0)