fix(core): Add "rawBody" also for xml requests (#3143)

This commit is contained in:
Ricardo Espinoza 2022-04-18 12:50:40 -04:00 committed by GitHub
parent ac5f357001
commit 5719e44b59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -613,6 +613,9 @@ class App {
normalizeTags: true, // Transform tags to lowercase
explicitArray: false, // Only put properties in array if length > 1
},
verify: (req: express.Request, res: any, buf: any) => {
req.rawBody = buf;
},
}),
);