Available inall subroutines.
Returns the given URL without empty parameters. Parameters are considered empty when their names are empty. Effectively, this strips a malformed query string of superfluous separators, such as a trailing
? or extra ampersands:
set req.url = querystring.clean(req.url);