Sanitizes the comp, which can be from an untrusted source, to not contain possible harmful properties or parameters.
comp
an Component