Release notes: hapijs/hapi#3871
look for request.setUrl() references in your code and ensure you are only passing valid arguments.
if you use request.setUrl() to override query processing (e.g. using the qs module), consider switching to the much simpler server.options.query.parser option.
I assume this package can be deprecated and alternatively the change to the query parser suggested?
The v18 way would be:
query: {
parser: (query) => qs.parse(query)
}
Release notes: hapijs/hapi#3871
I assume this package can be deprecated and alternatively the change to the query parser suggested?
The v18 way would be: