[0] HttpException in Url.php line 95

非法请求:home/index/download

  1. }
  2. // 设置当前请求的参数
  3. $this->request->setRouteVars($var);
  4. // 封装路由
  5. $route = [$module, $controller, $action];
  6. if ($this->hasDefinedRoute($route, $bind)) {
  7. throw new HttpException(404, 'invalid request:' . str_replace('|', $depr, $url));
  8. }
  9. return $route;
  10. }
  11. /**
  12. * 检查URL是否已经定义过路由
  13. * @access protected
  14. * @param string $route 路由信息

Call Stack

  1. in Url.php line 95
  2. at Url->parseUrl('home|index|download') in Url.php line 23
  3. at Url->init() in App.php line 402
  4. at App->run() in index.php line 25