Sanitizes input when posted instead of pre-output