&quot;Sanitising&quot; is a vague term and has different meanings depending on context. All it really means, at minimum, is &quot;transforming data, if necessary, to ensure it won&#x27;t do &#x27;bad stuff&#x27;&quot;. That might be escaping it, but it could also be stripping certain characters out of it, or just rejecting it altogether.