src/bbn/api/cloudmin.php
private function sanitize($st){
    $st = trim((string)$st);
    if ( strpos($st, ';') !== false ){
      return '';
    }
    if ( strpos($st, '<') !== false ){
      return '';
    }
    if ( strpos($st, '"') !== false ){
      return '';
    }
    if ( strpos($st, "'") !== false ){
      return '';
    }
    return $st;
  }
private function sanitize($st){
    $st = trim((string)$st);
    if ( strpos($st, ';') !== false ){
      return '';
    }
    if ( strpos($st, '<') !== false ){
      return '';
    }
    if ( strpos($st, '"') !== false ){
      return '';
    }
    if ( strpos($st, "'") !== false ){
      return '';
    }
    return $st;
  }
private function sanitize ( $ st ) { $ st = trim ( ( string ) $ st ) ; if ( strpos ( $ st , ';' ) !== false ) { return '' ; } if ( strpos ( $ st , '<' ) !== false ) { return '' ; } if ( strpos ( $ st , '"' ) !== false ) { return '' ; } if ( strpos ( $ st , "'" ) !== false ) { return '' ; } return $ st ; }
This function is used to sanitize the strings which are given as parameters
@param string $st
@return string The the header url part to be executed
This function is used to sanitize the strings which are given as parameters