sanitize uriparse output