UserInputScrubber.inc 143 B

123456
  1. <?php
  2. class UserInputScrubber {
  3. public function scrubString($dirtyString) {
  4. return htmlspecialchars($dirtyString, ENT_QUOTES, 'UTF-8');
  5. }
  6. }