Rizowski Source
  • Programming
  • Homelab
Subscribe
Tagged

hapi.js

A collection of 1 post

Hapi 17+ & Joi Verbose Error Messages
Programming

Hapi 17+ & Joi Verbose Error Messages

With Hapi Version 17 they disabled sending verbose Joi messages back to the client. They said in certain cases with Joi returning the user input, it can potentially create XSS attacks. So they disabled it by default. But there is an easy way to re-enable the functionality for testing purposes.

  • Colten Rouska
Colten Rouska Jan 9, 2019 • 1 min read
Rizowski Source © 2022
  • Author
Powered by Ghost