route and hp sanitization