You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When upgrade to Hapi 2.x, Joi validation polluted request.payload and OAuth signature checking in my app failed. It didn't happen in hapi 1.x with Joi 2. I think that validating the request should not pollute request.payload.
I'm currently in the process of upgrading an api server from Hapi 2.1.2 to 2.6.0 and I'm also seeing all optional params in the payload are being set to undefined. I haven't tried any version between 2.1 & 2.6, but with 2.1 optional params are not set.
When upgrade to Hapi 2.x, Joi validation polluted request.payload and OAuth signature checking in my app failed. It didn't happen in hapi 1.x with Joi 2. I think that validating the request should not pollute request.payload.
The text was updated successfully, but these errors were encountered: