Since Restify 2.x, the query-string parameters have to be fetched using req.query() instead of req.query. While fixing the unit tests, i also upgraded the validator package to 3.22.x due to a major security issue in all versions below (see https://blog.liftsecurity.io/2014/11/03/regular-expression-dos-and-node.js).
Since Restify 2.x, the query-string parameters have to be fetched using req.query() instead of req.query. While fixing the unit tests, i also upgraded the validator package to 3.22.x due to a major security issue in all versions below (see https://blog.liftsecurity.io/2014/11/03/regular-expression-dos-and-node.js).