Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
sanitize unset params #22
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I agree that it would be nice if you could call sanitize on a non-present parameter, but as a short term solution I've just structured my code differently, ensuring that anything missing that is needed to sanitize is caught and dealt with before the sanitize: