content: package com.sast.astbenchmark.case_language_maturity.completeness.single_app_tracing.expression.conditional_expression;
  
  import com.sast.astbenchmark.service.SSRFShowManageImpl;
  import com.sast.astbenchmark.service.SSRFShowManager;
  import org.apache.commons.lang.StringUtils;
  import org.springframework.web.bind.annotation.GetMapping;
  import org.springframework.web.bind.annotation.PathVariable;
  import org.springframework.web.bind.annotation.RequestMapping;
  import org.springframework.web.bind.annotation.RestController;
  
  import java.util.HashMap;
  import java.util.Map;
  
  // evaluation information start
  // real case = true
  // evaluation item = 完整度->单应用跟踪完整度->表达式->条件表达式
  // scene introduction = 三目运算符
  // level = 2
  // bind_url = completeness/single_app_tracing/expression/conditional_expression/Expression_TernaryOperator_001_T/{url}
  // evaluation information end
  
  @RestController()
  @RequestMapping("completeness/single_app_tracing/expression/conditional_expression")
  public class Expression_TernaryOperator_001_T {
      private SSRFShowManager ssrfShowManager = new SSRFShowManageImpl();
  
      @GetMapping("Expression_TernaryOperator_001_T/{url}")
      public Map<String, Object> aTaintCase0133(@PathVariable String url) {
          Map<String, Object> modelMap = new HashMap<>();
          try {
              String realUrl = StringUtils.isBlank(url) ? url : "https://www.test.com";
              this.ssrfShowManager.selfAnonymousFacade(realUrl);
              modelMap.put("status", "success");
          } catch (Exception e) {
              modelMap.put("status", "error");
          }
          return modelMap;
      }
  }
  