Skip to content

Commit bab0069

Browse files
committed
fix(clients): call decodeHTML instead of heDecode
1 parent 2d6c9b6 commit bab0069

File tree

25 files changed

+25
-25
lines changed

25 files changed

+25
-25
lines changed

clients/client-auto-scaling/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9387,7 +9387,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
93879387
ignoreAttributes: false,
93889388
parseNodeValue: false,
93899389
trimValues: false,
9390-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
9390+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
93919391
});
93929392
const textNodeName = "#text";
93939393
const key = Object.keys(parsedObj)[0];

clients/client-cloudformation/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9654,7 +9654,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
96549654
ignoreAttributes: false,
96559655
parseNodeValue: false,
96569656
trimValues: false,
9657-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
9657+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
96589658
});
96599659
const textNodeName = "#text";
96609660
const key = Object.keys(parsedObj)[0];

clients/client-cloudfront/protocols/Aws_restXml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18515,7 +18515,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
1851518515
ignoreAttributes: false,
1851618516
parseNodeValue: false,
1851718517
trimValues: false,
18518-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
18518+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
1851918519
});
1852018520
const textNodeName = "#text";
1852118521
const key = Object.keys(parsedObj)[0];

clients/client-cloudsearch/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4869,7 +4869,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
48694869
ignoreAttributes: false,
48704870
parseNodeValue: false,
48714871
trimValues: false,
4872-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
4872+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
48734873
});
48744874
const textNodeName = "#text";
48754875
const key = Object.keys(parsedObj)[0];

clients/client-cloudwatch/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6360,7 +6360,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
63606360
ignoreAttributes: false,
63616361
parseNodeValue: false,
63626362
trimValues: false,
6363-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
6363+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
63646364
});
63656365
const textNodeName = "#text";
63666366
const key = Object.keys(parsedObj)[0];

clients/client-docdb/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8706,7 +8706,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
87068706
ignoreAttributes: false,
87078707
parseNodeValue: false,
87088708
trimValues: false,
8709-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
8709+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
87108710
});
87118711
const textNodeName = "#text";
87128712
const key = Object.keys(parsedObj)[0];

clients/client-ec2/protocols/Aws_ec2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71690,7 +71690,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
7169071690
ignoreAttributes: false,
7169171691
parseNodeValue: false,
7169271692
trimValues: false,
71693-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
71693+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
7169471694
});
7169571695
const textNodeName = "#text";
7169671696
const key = Object.keys(parsedObj)[0];

clients/client-elastic-beanstalk/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8203,7 +8203,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
82038203
ignoreAttributes: false,
82048204
parseNodeValue: false,
82058205
trimValues: false,
8206-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
8206+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
82078207
});
82088208
const textNodeName = "#text";
82098209
const key = Object.keys(parsedObj)[0];

clients/client-elastic-load-balancing-v2/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7859,7 +7859,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
78597859
ignoreAttributes: false,
78607860
parseNodeValue: false,
78617861
trimValues: false,
7862-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
7862+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
78637863
});
78647864
const textNodeName = "#text";
78657865
const key = Object.keys(parsedObj)[0];

clients/client-elastic-load-balancing/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5408,7 +5408,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
54085408
ignoreAttributes: false,
54095409
parseNodeValue: false,
54105410
trimValues: false,
5411-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
5411+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
54125412
});
54135413
const textNodeName = "#text";
54145414
const key = Object.keys(parsedObj)[0];

clients/client-elasticache/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15014,7 +15014,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
1501415014
ignoreAttributes: false,
1501515015
parseNodeValue: false,
1501615016
trimValues: false,
15017-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
15017+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
1501815018
});
1501915019
const textNodeName = "#text";
1502015020
const key = Object.keys(parsedObj)[0];

clients/client-iam/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21434,7 +21434,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
2143421434
ignoreAttributes: false,
2143521435
parseNodeValue: false,
2143621436
trimValues: false,
21437-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
21437+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
2143821438
});
2143921439
const textNodeName = "#text";
2144021440
const key = Object.keys(parsedObj)[0];

clients/client-neptune/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13172,7 +13172,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
1317213172
ignoreAttributes: false,
1317313173
parseNodeValue: false,
1317413174
trimValues: false,
13175-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
13175+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
1317613176
});
1317713177
const textNodeName = "#text";
1317813178
const key = Object.keys(parsedObj)[0];

clients/client-rds/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28075,7 +28075,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
2807528075
ignoreAttributes: false,
2807628076
parseNodeValue: false,
2807728077
trimValues: false,
28078-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
28078+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
2807928079
});
2808028080
const textNodeName = "#text";
2808128081
const key = Object.keys(parsedObj)[0];

clients/client-redshift/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20728,7 +20728,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
2072820728
ignoreAttributes: false,
2072920729
parseNodeValue: false,
2073020730
trimValues: false,
20731-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
20731+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
2073220732
});
2073320733
const textNodeName = "#text";
2073420734
const key = Object.keys(parsedObj)[0];

clients/client-route-53/protocols/Aws_restXml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10276,7 +10276,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
1027610276
ignoreAttributes: false,
1027710277
parseNodeValue: false,
1027810278
trimValues: false,
10279-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
10279+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
1028010280
});
1028110281
const textNodeName = "#text";
1028210282
const key = Object.keys(parsedObj)[0];

clients/client-s3-control/protocols/Aws_restXml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8064,7 +8064,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
80648064
ignoreAttributes: false,
80658065
parseNodeValue: false,
80668066
trimValues: false,
8067-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
8067+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
80688068
});
80698069
const textNodeName = "#text";
80708070
const key = Object.keys(parsedObj)[0];

clients/client-s3/protocols/Aws_restXml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14515,7 +14515,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
1451514515
ignoreAttributes: false,
1451614516
parseNodeValue: false,
1451714517
trimValues: false,
14518-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
14518+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
1451914519
});
1452014520
const textNodeName = "#text";
1452114521
const key = Object.keys(parsedObj)[0];

clients/client-ses/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10318,7 +10318,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
1031810318
ignoreAttributes: false,
1031910319
parseNodeValue: false,
1032010320
trimValues: false,
10321-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
10321+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
1032210322
});
1032310323
const textNodeName = "#text";
1032410324
const key = Object.keys(parsedObj)[0];

clients/client-sns/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5328,7 +5328,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
53285328
ignoreAttributes: false,
53295329
parseNodeValue: false,
53305330
trimValues: false,
5331-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
5331+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
53325332
});
53335333
const textNodeName = "#text";
53345334
const key = Object.keys(parsedObj)[0];

clients/client-sqs/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3139,7 +3139,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
31393139
ignoreAttributes: false,
31403140
parseNodeValue: false,
31413141
trimValues: false,
3142-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
3142+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
31433143
});
31443144
const textNodeName = "#text";
31453145
const key = Object.keys(parsedObj)[0];

clients/client-sts/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
14791479
ignoreAttributes: false,
14801480
parseNodeValue: false,
14811481
trimValues: false,
1482-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
1482+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
14831483
});
14841484
const textNodeName = "#text";
14851485
const key = Object.keys(parsedObj)[0];

protocol_tests/aws-ec2/protocols/Aws_ec2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2146,7 +2146,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
21462146
ignoreAttributes: false,
21472147
parseNodeValue: false,
21482148
trimValues: false,
2149-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
2149+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
21502150
});
21512151
const textNodeName = "#text";
21522152
const key = Object.keys(parsedObj)[0];

protocol_tests/aws-query/protocols/Aws_query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2922,7 +2922,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
29222922
ignoreAttributes: false,
29232923
parseNodeValue: false,
29242924
trimValues: false,
2925-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
2925+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
29262926
});
29272927
const textNodeName = "#text";
29282928
const key = Object.keys(parsedObj)[0];

protocol_tests/aws-restxml/protocols/Aws_restXml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6022,7 +6022,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
60226022
ignoreAttributes: false,
60236023
parseNodeValue: false,
60246024
trimValues: false,
6025-
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : heDecode(val)),
6025+
tagValueProcessor: (val, tagName) => (val.trim() === "" ? "" : decodeHTML(val)),
60266026
});
60276027
const textNodeName = "#text";
60286028
const key = Object.keys(parsedObj)[0];

0 commit comments

Comments
 (0)