fix(core): Add "rawBody" also for xml requests (#3143)
This commit is contained in:
@@ -613,6 +613,9 @@ class App {
|
|||||||
normalizeTags: true, // Transform tags to lowercase
|
normalizeTags: true, // Transform tags to lowercase
|
||||||
explicitArray: false, // Only put properties in array if length > 1
|
explicitArray: false, // Only put properties in array if length > 1
|
||||||
},
|
},
|
||||||
|
verify: (req: express.Request, res: any, buf: any) => {
|
||||||
|
req.rawBody = buf;
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user