Skip to content

Commit 95093ab

Browse files
committed
add comment
1 parent 88e3c9f commit 95093ab

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • packages/components/src/internal/url

packages/components/src/internal/url/utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ export function encodeListResolverPath(containerPath: string): string {
66
return ['$CPS', containerPath?.toLowerCase(), '$CPE'].join('');
77
}
88

9+
// Issue 52925, 52119
910
export function encodeFormDataQuote(key: string): string {
1011
if (!key)
1112
return key;
13+
// need to replace %22, before replacing " to %22
1214
return key?.replaceAll('%22', '%2522').replaceAll('"', '%22');
1315
}

0 commit comments

Comments
 (0)