Added path params validation/sanitization