* Or when files contain '..' as this could lead to abusive reads. |
|
*/ |
|
public function read($key) |
|
{ |
|
$file = $this->_getFilePath($key, true); |
|
|
|
$config = null; |
|
|
|
$return = include $file; |
'social_auth' true
$engine = static::_getEngine($config); |
|
if (!$engine) { |
|
return false; |
|
} |
|
$values = $engine->read($key); |
|
|
|
if ($merge) { |
|
$values = Hash::merge(static::$_values, $values); |
|
} |
'social_auth'
} |
|
|
|
$serviceConfig = $this->getConfig('serviceConfig'); |
|
if (empty($serviceConfig)) { |
|
Configure::load('social_auth'); |
|
$serviceConfig = Configure::consume('SocialAuth'); |
|
} |
|
|
|
$serviceConfig['redirectUri'] = Router::url([ |
'social_auth'
{ |
|
$request->allowMethod($this->getConfig('requestMethod')); |
|
|
|
$providerName = $request->getParam('provider'); |
|
$provider = $this->_getService($request)->getProvider($providerName); |
|
$authUrl = $provider->makeAuthUrl(); |
|
|
|
$this->_setRedirectUrl($request); |
|
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'provider' => 'google', 'pass' => [ (int) 0 => 'google' ], 'controller' => 'Auth', 'action' => 'login', 'plugin' => 'ADmad/SocialAuth', 'lng' => 'hu', '_matchedRoute' => '/hu/social-auth/login/:provider', '?' => [ 'redirect' => '/' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'get' => true ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] }
} |
|
|
|
$method = '_handle' . ucfirst($action) . 'Action'; |
|
|
|
return $this->{$method}($request, $response); |
|
} |
|
|
|
/** |
|
* Handle login action, initiate authentication process. |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'provider' => 'google', 'pass' => [ (int) 0 => 'google' ], 'controller' => 'Auth', 'action' => 'login', 'plugin' => 'ADmad/SocialAuth', 'lng' => 'hu', '_matchedRoute' => '/hu/social-auth/login/:provider', '?' => [ 'redirect' => '/' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'get' => true ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'provider' => 'google', 'pass' => [ (int) 0 => 'google' ], 'controller' => 'Auth', 'action' => 'login', 'plugin' => 'ADmad/SocialAuth', 'lng' => 'hu', '_matchedRoute' => '/hu/social-auth/login/:provider', '?' => [ 'redirect' => '/' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'get' => true ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 8 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
}else{ |
|
$request = $request->withAttribute('allowEntity', $forceAllow || !$request->is('json','xml')); |
|
} |
|
} |
|
return $next($request, $response); |
|
} |
|
} |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'provider' => 'google', 'pass' => [ (int) 0 => 'google' ], 'controller' => 'Auth', 'action' => 'login', 'plugin' => 'ADmad/SocialAuth', 'lng' => 'hu', '_matchedRoute' => '/hu/social-auth/login/:provider', '?' => [ 'redirect' => '/' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'get' => true ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'provider' => 'google', 'pass' => [ (int) 0 => 'google' ], 'controller' => 'Auth', 'action' => 'login', 'plugin' => 'ADmad/SocialAuth', 'lng' => 'hu', '_matchedRoute' => '/hu/social-auth/login/:provider', '?' => [ 'redirect' => '/' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'get' => true ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 8 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
|
|
public function __invoke(ServerRequest $request, Response $response, callable $next){ |
|
//If not api skip |
|
if(strpos($request->getPath(),'/api') !== 0){ |
|
return $next($request, $response); |
|
} |
|
$request->addDetector('api', function(){return true;}); |
|
$apiKey = $request->getHeaderLine('TSApiKey'); |
|
if(!empty($apiKey)) { |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'provider' => 'google', 'pass' => [ (int) 0 => 'google' ], 'controller' => 'Auth', 'action' => 'login', 'plugin' => 'ADmad/SocialAuth', 'lng' => 'hu', '_matchedRoute' => '/hu/social-auth/login/:provider', '?' => [ 'redirect' => '/' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'get' => true ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'provider' => 'google', 'pass' => [ (int) 0 => 'google' ], 'controller' => 'Auth', 'action' => 'login', 'plugin' => 'ADmad/SocialAuth', 'lng' => 'hu', '_matchedRoute' => '/hu/social-auth/login/:provider', '?' => [ 'redirect' => '/' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'get' => true ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 8 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $next($request, $response); |
|
} |
|
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'provider' => 'google', 'pass' => [ (int) 0 => 'google' ], 'controller' => 'Auth', 'action' => 'login', 'plugin' => 'ADmad/SocialAuth', 'lng' => 'hu', '_matchedRoute' => '/hu/social-auth/login/:provider', '?' => [ 'redirect' => '/' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'get' => true ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'provider' => 'google', 'pass' => [ (int) 0 => 'google' ], 'controller' => 'Auth', 'action' => 'login', 'plugin' => 'ADmad/SocialAuth', 'lng' => 'hu', '_matchedRoute' => '/hu/social-auth/login/:provider', '?' => [ 'redirect' => '/' ], '_ext' => null ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'get' => true ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 8 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 8 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
->withStatus($redirectNow->redirect_type); |
|
return $response; |
|
} |
|
} |
|
return $next($request, $response); |
|
} |
|
} |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 8 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 8 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$this->service->loadPanels(); |
|
$this->service->initializePanels(); |
|
$response = $next($request, $response); |
|
$row = $this->service->saveData($request, $response); |
|
if (!$row) { |
|
return $response; |
|
} |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 8 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
|
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(DebugKit\Middleware\DebugKitMiddleware) {}, (int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 2 => object(App\Middleware\RedirectUrlMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 4 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 5 => object(App\Middleware\TSApiMiddleware) {}, (int) 6 => object(App\Middleware\TSSecurityMiddleware) {}, (int) 7 => object(ADmad\SocialAuth\Middleware\SocialAuthMiddleware) {}, (int) 8 => object(Authentication\Middleware\AuthenticationMiddleware) {}, (int) 9 => object(Authorization\Middleware\AuthorizationMiddleware) {}, (int) 10 => object(App\Middleware\TSAuthMiddleware) {}, (int) 11 => object(Loc\Middleware\LocMiddleware) {}, (int) 12 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(DebugKit\Middleware\DebugKitMiddleware) {}, (int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 2 => object(App\Middleware\RedirectUrlMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 4 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 5 => object(App\Middleware\TSApiMiddleware) {}, (int) 6 => object(App\Middleware\TSSecurityMiddleware) {}, (int) 7 => object(ADmad\SocialAuth\Middleware\SocialAuthMiddleware) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [ 'redirect' => '/' ] [protected] cookies => [] [protected] _environment => [ 'USER' => 'totalstu', 'HOME' => '/home/totalstu', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/hu/social-auth/login/google?redirect=%2F', 'QUERY_STRING' => 'redirect=%2F', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'redirect=%2F', 'REDIRECT_URL' => '/webroot/hu/social-auth/login/google', 'REMOTE_PORT' => '35298', 'SCRIPT_FILENAME' => '/home/totalstu/dev20.totalstudio.dev/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@dev20.totalstudio.dev', 'CONTEXT_DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/totalstu/dev20.totalstudio.dev', 'REMOTE_ADDR' => '3.237.51.235', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '217.13.97.241', 'SERVER_NAME' => 'dev20.totalstudio.dev', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_HOST' => 'dev20.totalstudio.dev', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'proxy-nokeepalive' => '1', 'H2_STREAM_TAG' => '1980840-677-3', 'H2_STREAM_ID' => '3', 'H2_PUSHED_ON' => '', 'H2_PUSHED' => '', 'H2_PUSH' => 'off', 'H2PUSH' => 'off', 'HTTP2' => 'on', 'SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_STATUS' => '200', 'REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '1980840-677-3', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'dev20.totalstudio.dev', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgWQummEP68o5dlh9vnH0AAATBE', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711640762.2806, 'REQUEST_TIME' => (int) 1711640762, 'argv' => [ (int) 0 => 'redirect=%2F' ], 'argc' => (int) 1, 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'hu', 'APP_DEFAULT_TIMEZONE' => 'Europe/Budapest', 'DATABASE_HOST' => '127.0.0.1', 'DATABASE_PORT' => '3306', 'DATABASE_USERNAME' => 'totalstu_dev', 'DATABASE_PASSWORD' => 'TotalStudioDev', 'DATABASE_DATABASE' => 'totalstu_dev20', 'DATABASE_LOG_ENABLED' => false, 'EMAIL_TRANSPORT_HOST' => 'totalstudio.hu', 'EMAIL_TRANSPORT_PORT' => (int) 26, 'EMAIL_TRANSPORT_DEFAULT_URL' => null, 'EMAIL_TRANSPORT_USERNAME' => 'sample@email.hu', 'EMAIL_TRANSPORT_PASSWORD' => 'password', 'EMAIL_TRANSPORT_TLS' => false, 'EMAIL_TRANSPORT_OVERWRITE_RECIPIENTS' => 'catchall@email.hu', 'EMAIL_TRANSPORT_SENDER' => 'sample@email.hu', 'EMAIL_TRANSPORT_SMTP' => false, 'PLUGIN' => 'EcdhEmail', 'INSTALL' => false, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'hu/social-auth/login/google' [protected] base => '' [protected] webroot => '/' [protected] here => '/hu/social-auth/login/google' [protected] trustedProxies => [] [protected] _input => null [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' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'dev20.totalstudio.dev' [private] port => null [private] path => '/hu/social-auth/login/google' [private] query => 'redirect=%2F' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
// 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()); |
No arguments
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create src/Template/Error/error500.ctp