CORE/src/Controller/ComponentRegistry.php at line 96
(edit)
|
* @throws \Cake\Controller\Exception\MissingComponentException |
|
*/ |
|
protected function _throwMissingClassError(string $class, ?string $plugin): void |
|
{ |
|
throw new MissingComponentException([ |
|
'class' => $class . 'Component', |
|
'plugin' => $plugin, |
|
]); |
|
} |
-
|
if (is_string($name)) { |
|
$className = $this->_resolveClassName($name); |
|
if ($className === null) { |
|
[$plugin, $name] = pluginSplit($name); |
|
$this->_throwMissingClassError($name, $plugin); |
|
} |
|
} |
|
|
|
$instance = $this->_create($className, $objName, $config); |
Toggle Arguments
-
|
*/ |
|
public function loadComponent(string $name, array $config = []): Component |
|
{ |
|
/** @var \Cake\Controller\Component */ |
|
return $this->components()->load($name, $config); |
|
} |
|
|
|
/** |
|
* Magic accessor for the default table. |
Toggle Arguments
[
'actions' => [
(int) 0 => 'index',
],
'when' => object(Closure) id:0 {
},
]
-
|
$this->loadComponent('Cache.Cache', [ |
|
'actions' => ['index'], |
|
'when' => function (ServerRequest $request) { |
|
return $request->getParam('action') == 'index' && !$request->getQuery('term'); |
|
}, |
|
]); |
|
} |
|
|
|
/** |
Toggle Arguments
[
'actions' => [
(int) 0 => 'index',
],
'when' => object(Closure) id:0 {
},
]
-
|
$tableAlias = ($plugin ? $plugin . '.' : '') . $this->name; |
|
$this->defaultTable = $tableAlias; |
|
} |
|
|
|
$this->initialize(); |
|
|
|
$this->getEventManager()->on($this); |
|
} |
|
|
Toggle Arguments
-
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
'aht' => false,
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
'csrfToken' => 'Usc6FwnBf5cTWNGOR3+tpepT5WijcpZp1RqJcnxU8N48bfO1jY9McC+Thon/2lc8v5VXisIeRYGOfUN1AOrFBg==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:11 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:12 {
},
'authorization' => object(Authorization\AuthorizationService) id:13 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
// The request is in the container by default. |
|
if ($this->container->has($className)) { |
|
$controller = $this->container->get($className); |
|
} else { |
|
$controller = $reflection->newInstance($request); |
|
} |
|
|
|
return $controller; |
|
} |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
'aht' => false,
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
'csrfToken' => 'Usc6FwnBf5cTWNGOR3+tpepT5WijcpZp1RqJcnxU8N48bfO1jY9McC+Thon/2lc8v5VXisIeRYGOfUN1AOrFBg==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:11 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:12 {
},
'authorization' => object(Authorization\AuthorizationService) id:13 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
assert($request instanceof ServerRequest); |
|
Router::setRequest($request); |
|
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
'aht' => false,
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
'csrfToken' => 'Usc6FwnBf5cTWNGOR3+tpepT5WijcpZp1RqJcnxU8N48bfO1jY9McC+Thon/2lc8v5VXisIeRYGOfUN1AOrFBg==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:11 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:12 {
},
'authorization' => object(Authorization\AuthorizationService) id:13 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
return new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
'aht' => false,
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
'csrfToken' => 'Usc6FwnBf5cTWNGOR3+tpepT5WijcpZp1RqJcnxU8N48bfO1jY9McC+Thon/2lc8v5VXisIeRYGOfUN1AOrFBg==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:11 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:12 {
},
'authorization' => object(Authorization\AuthorizationService) id:13 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
$request = $request->withAttribute($attribute, $identity); |
|
} |
|
|
|
try { |
|
$response = $handler->handle($request); |
|
|
|
if ($this->getConfig('requireAuthorizationCheck') && !$service->authorizationChecked()) { |
|
throw new AuthorizationRequiredException(['url' => $request->getRequestTarget()]); |
|
} |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
'aht' => false,
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
'csrfToken' => 'Usc6FwnBf5cTWNGOR3+tpepT5WijcpZp1RqJcnxU8N48bfO1jY9McC+Thon/2lc8v5VXisIeRYGOfUN1AOrFBg==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:11 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:12 {
},
'authorization' => object(Authorization\AuthorizationService) id:13 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
'aht' => false,
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
'csrfToken' => 'Usc6FwnBf5cTWNGOR3+tpepT5WijcpZp1RqJcnxU8N48bfO1jY9McC+Thon/2lc8v5VXisIeRYGOfUN1AOrFBg==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:11 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:12 {
},
'authorization' => object(Authorization\AuthorizationService) id:13 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 8
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/var/www/pogo.sodmos.si/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
$request = $request->withAttribute('authentication', $service); |
|
$request = $request->withAttribute('authenticationResult', $result); |
|
|
|
try { |
|
$response = $handler->handle($request); |
|
$authenticator = $service->getAuthenticationProvider(); |
|
|
|
if ($authenticator !== null && !$authenticator instanceof StatelessInterface) { |
|
/** |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
'csrfToken' => 'Usc6FwnBf5cTWNGOR3+tpepT5WijcpZp1RqJcnxU8N48bfO1jY9McC+Thon/2lc8v5VXisIeRYGOfUN1AOrFBg==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:11 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
'csrfToken' => 'Usc6FwnBf5cTWNGOR3+tpepT5WijcpZp1RqJcnxU8N48bfO1jY9McC+Thon/2lc8v5VXisIeRYGOfUN1AOrFBg==',
'identity' => null,
'authentication' => object(Authentication\AuthenticationService) id:11 {
},
'authenticationResult' => object(Authentication\Authenticator\Result) id:12 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 8
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/var/www/pogo.sodmos.si/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
if ($request->getCookieParams()) { |
|
$request = $this->decodeCookies($request); |
|
} |
|
|
|
$response = $handler->handle($request); |
|
if ($response->hasHeader('Set-Cookie')) { |
|
$response = $this->encodeSetCookieHeader($response); |
|
} |
|
if ($response instanceof Response) { |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
'csrfToken' => 'Usc6FwnBf5cTWNGOR3+tpepT5WijcpZp1RqJcnxU8N48bfO1jY9McC+Thon/2lc8v5VXisIeRYGOfUN1AOrFBg==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
'csrfToken' => 'Usc6FwnBf5cTWNGOR3+tpepT5WijcpZp1RqJcnxU8N48bfO1jY9McC+Thon/2lc8v5VXisIeRYGOfUN1AOrFBg==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 8
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/var/www/pogo.sodmos.si/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
} |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
|
|
if ($method === 'GET') { |
|
return $handler->handle($request); |
|
} |
|
|
|
if ($hasData) { |
|
$this->validateToken($request, $session); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
'csrfToken' => 'Usc6FwnBf5cTWNGOR3+tpepT5WijcpZp1RqJcnxU8N48bfO1jY9McC+Thon/2lc8v5VXisIeRYGOfUN1AOrFBg==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
'csrfToken' => 'Usc6FwnBf5cTWNGOR3+tpepT5WijcpZp1RqJcnxU8N48bfO1jY9McC+Thon/2lc8v5VXisIeRYGOfUN1AOrFBg==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 8
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/var/www/pogo.sodmos.si/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
if (!in_array($request->getMethod(), $this->methods, true)) { |
|
return $handler->handle($request); |
|
} |
|
[$type] = explode(';', $request->getHeaderLine('Content-Type')); |
|
$type = strtolower($type); |
|
if (!isset($this->parsers[$type])) { |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 8
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/var/www/pogo.sodmos.si/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$container = $this->app instanceof ContainerApplicationInterface |
|
? $this->app->getContainer() |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'controller' => 'Items',
'pass' => [
],
'action' => 'index',
'prefix' => 'Template',
'plugin' => null,
'_matchedRoute' => '/template/{controller}',
'?' => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
],
'_ext' => null,
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'route' => object(Cake\Routing\Route\DashedRoute) id:10 {
},
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 8
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/var/www/pogo.sodmos.si/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (str_contains($url, '..') || !str_contains($url, '.')) { |
|
return $handler->handle($request); |
|
} |
|
|
|
if (str_contains($url, '/.')) { |
|
return $handler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 8
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/var/www/pogo.sodmos.si/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (RedirectException $exception) { |
|
return $this->handleRedirect($exception); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 8
protected queue => [
'' => [maximum depth reached],
]
protected container => object(Cake\Core\Container) id:2 {
}
}
protected fallbackHandler => object(App\Application) id:3 {
protected configDir => '/var/www/pogo.sodmos.si/config/'
protected plugins => object(Cake\Core\PluginCollection) id:4 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:5 {
}
protected container => object(Cake\Core\Container) id: 2 {}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
-
|
) { |
|
Router::setRequest($request); |
|
} |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
Toggle Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
-
|
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
Toggle Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 8
protected queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:1 {
},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) id:3 {
},
(int) 3 => object(Cake\Http\Middleware\BodyParserMiddleware) id:4 {
},
(int) 4 => object(Cake\Http\Middleware\SessionCsrfProtectionMiddleware) id:5 {
},
(int) 5 => object(Cake\Http\Middleware\EncryptedCookieMiddleware) id:6 {
},
(int) 6 => object(Authentication\Middleware\AuthenticationMiddleware) id:7 {
},
(int) 7 => object(Authorization\Middleware\AuthorizationMiddleware) id:8 {
},
]
protected container => object(Cake\Core\Container) id:9 {
protected defaultToShared => false
protected definitions => object(League\Container\Definition\DefinitionAggregate) id:10 {
}
protected providers => object(League\Container\ServiceProvider\ServiceProviderAggregate) id:11 {
}
protected inflectors => object(League\Container\Inflector\InflectorAggregate) id:12 {
}
protected delegates => [
'' => [maximum depth reached],
]
}
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
'category' => '90dd9340-48c3-4c26-8322-9a077e742bd3',
]
protected cookies => [
]
protected _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'pogo.sodmos.si',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'pogo.sodmos.si',
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_HOST' => 'pogo.sodmos.si',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.52 (Ubuntu) Server at pogo.sodmos.si Port 443</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.52 (Ubuntu)',
'SERVER_NAME' => 'pogo.sodmos.si',
'SERVER_ADDR' => '45.151.122.173',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '44.202.198.173',
'DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/pogo.sodmos.si',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/pogo.sodmos.si/webroot/index.php',
'REMOTE_PORT' => '59098',
'REDIRECT_URL' => '/webroot/template/items',
'REDIRECT_QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'REQUEST_URI' => '/template/items?category=90dd9340-48c3-4c26-8322-9a077e742bd3',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711727765.8876,
'REQUEST_TIME' => (int) 1711727765,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
protected _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET',
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST',
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT',
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH',
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE',
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD',
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS',
],
'https' => [
'env' => 'HTTPS',
'options' => [
'' => [maximum depth reached],
],
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'exclude' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'bot' => object(Closure) id:3 {
},
'archicad' => object(Closure) id:4 {
},
'aht' => [
'param' => '_ext',
'value' => 'aht',
],
'lilpopup' => object(Closure) id:5 {
},
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\Stream) id:6 {
protected resource => (resource (stream)) Resource id #7
protected stream => 'php://input'
}
protected uri => object(Laminas\Diactoros\Uri) id:7 {
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'pogo.sodmos.si'
private port => null
private path => '/template/items'
private query => 'category=90dd9340-48c3-4c26-8322-9a077e742bd3'
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:8 {
protected _engine => null
protected _started => true
protected _lifetime => (int) 1440
protected _isCLI => false
protected headerSentInfo => null
}
protected flash => object(Cake\Http\FlashMessage) id:9 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 8 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/var/www/pogo.sodmos.si/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
protected plugins => [
'' => [maximum depth reached],
]
protected names => [
'' => [maximum depth reached],
]
protected positions => [
'' => [maximum depth reached],
]
protected loopDepth => (int) -1
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:2 {
protected container => object(Cake\Core\Container) id:3 {
}
protected controller => [uninitialized]
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:4 {
'_listeners' => [
'Model.beforeMarshal' => '1 listener(s)',
'Model.Users.afterRegister' => '1 listener(s)',
'Controller.beforeRender' => '1 listener(s)',
'Controller.beforeRedirect' => '1 listener(s)',
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
-
|
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
Toggle Arguments
-
If you want to customize this error message, create
templates/Error/error500.php