[0] HttpException in Url.php line 64

控制器不存在:2017

  1. if ($this->param['auto_search']) {
  2. $controller = $this->autoFindController($module, $path);
  3. } else {
  4. // 解析控制器
  5. $controller = !empty($path) ? array_shift($path) : null;
  6. //修复没有开启强制路由的情况下可能的getshell漏洞
  7. if ($controller && !preg_match('/^[A-Za-z](\w|\.)*$/', $controller)) {
  8. throw new HttpException(404, 'controller not exists:' . $controller);
  9. }
  10. }
  11. // 解析操作
  12. $action = !empty($path) ? array_shift($path) : null;
  13. // 解析额外参数
  14. if ($path) {
  15. if ($this->rule->getConfig('url_param_type')) {

Call Stack

  1. in Url.php line 64
  2. at Url->parseUrl('chuangtou|2017|0701|...') in Url.php line 23
  3. at Url->init() in App.php line 402
  4. at App->run() in index.php line 25

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.xinchangtai.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
SERVER_NAME www.xinchangtai.cn
SERVER_PORT 80
SERVER_ADDR 172.17.115.109
REMOTE_PORT 52542
REMOTE_ADDR 34.230.68.214
SERVER_SOFTWARE nginx/1.15.8
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/admin/localhost_80/wwwroot/www.xinchangtai.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /chuangtou/2017/0701/2182.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/chuangtou/2017/0701/2182.html
PATH_INFO
SCRIPT_FILENAME /www/admin/localhost_80/wwwroot/www.xinchangtai.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711620650.0079
REQUEST_TIME 1711620650
Environment Variablesempty
ThinkPHP Constants
QINIU_FUNCTIONS_VERSION 7.2.5