class MySQLDataSource extends BaseDataSource {

  @Override
  protected String filterOther(String other){
    if(StringUtils.isBlank(other)){
        return "";
    }
    if(other.contains(sensitiveParam)){
      int index = other.indexOf(sensitiveParam);
      String tmp = sensitiveParam;
      if(index == 0 || other.charAt(index + 1) == symbol){
        tmp = tmp + symbol;
      } else if(other.charAt(index - 1) == symbol){
        tmp = symbol + tmp;
      }
      logger.warn("sensitive param : {} in otherParams field is filtered", tmp);
      other = other.replace(tmp, "");
    }
    logger.debug("other : {}", other);
    return other;
  }

}