} |
|
|
|
public function editPerfil($id = null) |
|
{ |
|
$user = $this->Users->get($id, [ 'contain' => [] ]); |
|
$cause = $this->request->getQuery('id_cause'); |
|
$owner = (int)$this->request->getSession()->read('Auth.User.id'); |
|
$user_id= (int)$user->id; |
|
|
[ (int) 0 => 'NULL' ] [ 'contain' => [] ]
} |
|
/** @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
$result = $callable(...array_values($request->getParam('pass'))); |
|
if ($result instanceof Response) { |
|
$this->response = $result; |
|
} |
|
|
No arguments
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
|
$response = $controller->invokeAction(); |
|
if ($response !== null && !($response instanceof Response)) { |
|
throw new LogicException('Controller actions can only return Cake\Http\Response or null.'); |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
|
return $response; |
|
} |
|
|
object(App\Controller\UsersController) { helpers => [ 'Session' => null, 'Gravatar' => [ 'className' => 'GravatarHelper.Gravatar' ] ] request => object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ [maximum depth reached] ] [protected] data => [[maximum depth reached]] [protected] query => [[maximum depth reached]] [protected] cookies => [[maximum depth reached]] [protected] _environment => [ [maximum depth reached] ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [protected] trustedProxies => [[maximum depth reached]] [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) {} [protected] uri => object(Laminas\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ [maximum depth reached] ] [private] mergeFilesAsObjects => false } response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } paginate => [] components => [] View => null passedArgs => [] modelClass => 'Users' viewClass => null viewVars => [ 'user' => null ] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Cookie => object(Cake\Controller\Component\CookieComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Security => object(Cake\Controller\Component\SecurityComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Csrf => object(Cake\Controller\Component\CsrfComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Auth => object(Cake\Controller\Component\AuthComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Users => object(App\Model\Table\UsersTable) { 'registryAlias' => 'Users', 'table' => 'users', 'alias' => 'Users', 'entityClass' => 'App\Model\Entity\User', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] name => 'Users' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\UsersController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] locations => [ [maximum depth reached] ] [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [[maximum depth reached]] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => null }
* @return \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Users', 'action' => 'editPerfil', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_REFERER' => null, 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Content-Security-Policy' => [ (int) 0 => 'default-src 'none'; connect-src 'self' https://juntos.la http://api.react.la http://api.next.la http://localhost:3000 https://widget.freshworks.com https://www.facebook.com/ https://www.google-analytics.com/ https://stats.g.doubleclick.net/ https://graph.facebook.com https://www.google.com https://ajax.cloudflare.com https://cloudflare.com https://viacep.com.br https://api.sendgrid.com https://maps.gstatic.com https://maps.googleapis.com https://tag.clearbitscripts.com/ https://api.multiavatar.com https://analytics.google.com https://share.juntos.la/ https://geolocation-db.com/; font-src 'self' http://api.react.la http://api.next.la http://localhost:3000 https://pro.fontawesome.com https://cdn.lineicons.com https://fonts.googleapis.com/ https://fonts.gstatic.com https://tag.clearbitscripts.com/; frame-src 'self' http://juntos.la https://juntos.la http://api.react.la http://localhost:3000 https://gravatar.com https://juntos.la https://youtu.be https://www.youtube.com https://www.facebook.com https://www.facebook.com https://www.twitter.com https://platform.twitter.com https://connect.facebook.net https://www.gstatic.com https://www.google.com https://test.juntos.la https://api.sendgrid.com https://api.multiavatar.com https://share.juntos.la/ https://geolocation-db.com/; img-src 'self' https://i1.wp.com/ui-avatars.com/ https://gravatar.com/ http://api.react.la http://api.next.la http://localhost:3000 https://scontent.ffln1-1.fna.fbcdn.net/ https://www.googletagmanager.com/ https://platform-lookaside.fbsbx.com https://graph.facebook.com https://www.google.com https://www.google.com.br https://www.google-analytics.com https://i0.wp.com https://i1.wp.com https://i2.wp.com https://ui.avatar.com https://www.podemos.org.br https://gravatar.com https://www.youtube.com.br https://www.facebook.com https://www.twitter.com http://api.juntos.la https://testes.juntos.la https://juntos.la https://external-dus1-1.xx.fbcdn.net https://scontent-hou1-1.cdninstagram.com https://maps.googleapis.com https://cdn.jsdelivr.net https://api.multiavatar.com/ https://maps.gstatic.com/ data:; media-src; object-src 'self'; manifest-src 'none'; script-src 'self' https://juntos.la https://cdn.jsdelivr.net https://i1.wp.com/ui-avatars.com/ http://api.react.la http://api.next.la http://localhost:3000 https://s3-us-west-2.amazonaws.com/ https://cdnjs.cloudflare.com/ https://connect.facebook.net/ https://www.facebook.com https://facebook.com https://www.twitter.com https://twitter.com https://platform.twitter.com https://www.whatsapp.com https://whatsapp.com https://www.instagram.com https://instagram.com https://apis.google.com/ https://www.google-analytics.com https://www.googletagmanager.com/ http://www.googletagmanager.com/ https://www.google.com https://www.gstatic.com http://jqueryvalidation.org https://cdn.jsdelivr.net https://cdnjs.cloudflare.com https://code.jquery.com/ https://widget.freshworks.com https://ajax.cloudflare.com https://cloudflare.com https://viacep.com.br https://fburl.com/ https://cdnjs.cloudflare.com https://maps.googleapis.com https://tag.clearbitscripts.com/ https://analytics.google.com https://api.multiavatar.com https://share.juntos.la/ https://geolocation-db.com/ https://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval'; style-src 'self' https://juntos.la https://cdnjs.cloudflare.com https://cdn.lineicons.com https://fonts.googleapis.com/ https://widget.freshworks.com https://cdn.jsdelivr.net https://cdnjs.cloudflare.com https://api.multiavatar.com 'unsafe-hashes' 'unsafe-inline'; ' ], 'Access-Control-Allow-Origin' => [ (int) 0 => '*' ], 'Access-Control-Allow-Methods' => [ (int) 0 => '*' ], 'Access-Control-Allow-Headers' => [ (int) 0 => 'Content-Type, x-xsrf-token' ], 'Access-Control-Max-Age' => [ (int) 0 => '172800' ] ], '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 => [ 'controller' => 'Users', 'action' => 'editPerfil', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_REFERER' => null, 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Content-Security-Policy' => [ (int) 0 => 'default-src 'none'; connect-src 'self' https://juntos.la http://api.react.la http://api.next.la http://localhost:3000 https://widget.freshworks.com https://www.facebook.com/ https://www.google-analytics.com/ https://stats.g.doubleclick.net/ https://graph.facebook.com https://www.google.com https://ajax.cloudflare.com https://cloudflare.com https://viacep.com.br https://api.sendgrid.com https://maps.gstatic.com https://maps.googleapis.com https://tag.clearbitscripts.com/ https://api.multiavatar.com https://analytics.google.com https://share.juntos.la/ https://geolocation-db.com/; font-src 'self' http://api.react.la http://api.next.la http://localhost:3000 https://pro.fontawesome.com https://cdn.lineicons.com https://fonts.googleapis.com/ https://fonts.gstatic.com https://tag.clearbitscripts.com/; frame-src 'self' http://juntos.la https://juntos.la http://api.react.la http://localhost:3000 https://gravatar.com https://juntos.la https://youtu.be https://www.youtube.com https://www.facebook.com https://www.facebook.com https://www.twitter.com https://platform.twitter.com https://connect.facebook.net https://www.gstatic.com https://www.google.com https://test.juntos.la https://api.sendgrid.com https://api.multiavatar.com https://share.juntos.la/ https://geolocation-db.com/; img-src 'self' https://i1.wp.com/ui-avatars.com/ https://gravatar.com/ http://api.react.la http://api.next.la http://localhost:3000 https://scontent.ffln1-1.fna.fbcdn.net/ https://www.googletagmanager.com/ https://platform-lookaside.fbsbx.com https://graph.facebook.com https://www.google.com https://www.google.com.br https://www.google-analytics.com https://i0.wp.com https://i1.wp.com https://i2.wp.com https://ui.avatar.com https://www.podemos.org.br https://gravatar.com https://www.youtube.com.br https://www.facebook.com https://www.twitter.com http://api.juntos.la https://testes.juntos.la https://juntos.la https://external-dus1-1.xx.fbcdn.net https://scontent-hou1-1.cdninstagram.com https://maps.googleapis.com https://cdn.jsdelivr.net https://api.multiavatar.com/ https://maps.gstatic.com/ data:; media-src; object-src 'self'; manifest-src 'none'; script-src 'self' https://juntos.la https://cdn.jsdelivr.net https://i1.wp.com/ui-avatars.com/ http://api.react.la http://api.next.la http://localhost:3000 https://s3-us-west-2.amazonaws.com/ https://cdnjs.cloudflare.com/ https://connect.facebook.net/ https://www.facebook.com https://facebook.com https://www.twitter.com https://twitter.com https://platform.twitter.com https://www.whatsapp.com https://whatsapp.com https://www.instagram.com https://instagram.com https://apis.google.com/ https://www.google-analytics.com https://www.googletagmanager.com/ http://www.googletagmanager.com/ https://www.google.com https://www.gstatic.com http://jqueryvalidation.org https://cdn.jsdelivr.net https://cdnjs.cloudflare.com https://code.jquery.com/ https://widget.freshworks.com https://ajax.cloudflare.com https://cloudflare.com https://viacep.com.br https://fburl.com/ https://cdnjs.cloudflare.com https://maps.googleapis.com https://tag.clearbitscripts.com/ https://analytics.google.com https://api.multiavatar.com https://share.juntos.la/ https://geolocation-db.com/ https://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval'; style-src 'self' https://juntos.la https://cdnjs.cloudflare.com https://cdn.lineicons.com https://fonts.googleapis.com/ https://widget.freshworks.com https://cdn.jsdelivr.net https://cdnjs.cloudflare.com https://api.multiavatar.com 'unsafe-hashes' 'unsafe-inline'; ' ], 'Access-Control-Allow-Origin' => [ (int) 0 => '*' ], 'Access-Control-Allow-Methods' => [ (int) 0 => '*' ], 'Access-Control-Allow-Headers' => [ (int) 0 => 'Content-Type, x-xsrf-token' ], 'Access-Control-Max-Age' => [ (int) 0 => '172800' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 7 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke(ServerRequestInterface $requestInterface, ResponseInterface $responseInterface, callable $next) |
|
{ |
|
$response = $this->csp->injectCSPHeader($responseInterface); |
|
|
|
return $next($requestInterface, $response, $next); |
|
} |
|
} |
|
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Users', 'action' => 'editPerfil', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_REFERER' => null, 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ], 'Content-Security-Policy' => [ (int) 0 => 'default-src 'none'; connect-src 'self' https://juntos.la http://api.react.la http://api.next.la http://localhost:3000 https://widget.freshworks.com https://www.facebook.com/ https://www.google-analytics.com/ https://stats.g.doubleclick.net/ https://graph.facebook.com https://www.google.com https://ajax.cloudflare.com https://cloudflare.com https://viacep.com.br https://api.sendgrid.com https://maps.gstatic.com https://maps.googleapis.com https://tag.clearbitscripts.com/ https://api.multiavatar.com https://analytics.google.com https://share.juntos.la/ https://geolocation-db.com/; font-src 'self' http://api.react.la http://api.next.la http://localhost:3000 https://pro.fontawesome.com https://cdn.lineicons.com https://fonts.googleapis.com/ https://fonts.gstatic.com https://tag.clearbitscripts.com/; frame-src 'self' http://juntos.la https://juntos.la http://api.react.la http://localhost:3000 https://gravatar.com https://juntos.la https://youtu.be https://www.youtube.com https://www.facebook.com https://www.facebook.com https://www.twitter.com https://platform.twitter.com https://connect.facebook.net https://www.gstatic.com https://www.google.com https://test.juntos.la https://api.sendgrid.com https://api.multiavatar.com https://share.juntos.la/ https://geolocation-db.com/; img-src 'self' https://i1.wp.com/ui-avatars.com/ https://gravatar.com/ http://api.react.la http://api.next.la http://localhost:3000 https://scontent.ffln1-1.fna.fbcdn.net/ https://www.googletagmanager.com/ https://platform-lookaside.fbsbx.com https://graph.facebook.com https://www.google.com https://www.google.com.br https://www.google-analytics.com https://i0.wp.com https://i1.wp.com https://i2.wp.com https://ui.avatar.com https://www.podemos.org.br https://gravatar.com https://www.youtube.com.br https://www.facebook.com https://www.twitter.com http://api.juntos.la https://testes.juntos.la https://juntos.la https://external-dus1-1.xx.fbcdn.net https://scontent-hou1-1.cdninstagram.com https://maps.googleapis.com https://cdn.jsdelivr.net https://api.multiavatar.com/ https://maps.gstatic.com/ data:; media-src; object-src 'self'; manifest-src 'none'; script-src 'self' https://juntos.la https://cdn.jsdelivr.net https://i1.wp.com/ui-avatars.com/ http://api.react.la http://api.next.la http://localhost:3000 https://s3-us-west-2.amazonaws.com/ https://cdnjs.cloudflare.com/ https://connect.facebook.net/ https://www.facebook.com https://facebook.com https://www.twitter.com https://twitter.com https://platform.twitter.com https://www.whatsapp.com https://whatsapp.com https://www.instagram.com https://instagram.com https://apis.google.com/ https://www.google-analytics.com https://www.googletagmanager.com/ http://www.googletagmanager.com/ https://www.google.com https://www.gstatic.com http://jqueryvalidation.org https://cdn.jsdelivr.net https://cdnjs.cloudflare.com https://code.jquery.com/ https://widget.freshworks.com https://ajax.cloudflare.com https://cloudflare.com https://viacep.com.br https://fburl.com/ https://cdnjs.cloudflare.com https://maps.googleapis.com https://tag.clearbitscripts.com/ https://analytics.google.com https://api.multiavatar.com https://share.juntos.la/ https://geolocation-db.com/ https://cdnjs.cloudflare.com 'unsafe-inline' 'unsafe-eval'; style-src 'self' https://juntos.la https://cdnjs.cloudflare.com https://cdn.lineicons.com https://fonts.googleapis.com/ https://widget.freshworks.com https://cdn.jsdelivr.net https://cdnjs.cloudflare.com https://api.multiavatar.com 'unsafe-hashes' 'unsafe-inline'; ' ], 'Access-Control-Allow-Origin' => [ (int) 0 => '*' ], 'Access-Control-Allow-Methods' => [ (int) 0 => '*' ], 'Access-Control-Allow-Headers' => [ (int) 0 => 'Content-Type, x-xsrf-token' ], 'Access-Control-Max-Age' => [ (int) 0 => '172800' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 7 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$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 => [ 'controller' => 'Users', 'action' => 'editPerfil', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_REFERER' => null, 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } 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) 7 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
if ( |
|
$this->whitelistCallback !== null |
|
&& call_user_func($this->whitelistCallback, $request) === true |
|
) { |
|
return $next($request, $response); |
|
} |
|
|
|
$cookies = $request->getCookieParams(); |
|
$cookieData = Hash::get($cookies, $this->_config['cookieName']); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Users', 'action' => 'editPerfil', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_REFERER' => null, 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } 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 => [ 'controller' => 'Users', 'action' => 'editPerfil', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_REFERER' => null, 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } 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) 7 [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 => [ 'controller' => 'Users', 'action' => 'editPerfil', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_REFERER' => null, 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } 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 => [ 'controller' => 'Users', 'action' => 'editPerfil', 'pass' => [], 'plugin' => null, '_matchedRoute' => '/{controller}/{action}/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_REFERER' => null, 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } 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) 7 [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 => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } 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 => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } 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) 7 [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 => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } 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 => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } 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) 7 [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 => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } 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 => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } 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) 7 [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 => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } 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(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 4 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 5 => object(Cake\Http\Middleware\CspMiddleware) {}, (int) 6 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(DebugKit\Middleware\DebugKitMiddleware) {}, (int) 1 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 3 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 4 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 5 => object(Cake\Http\Middleware\CspMiddleware) {}, (int) 6 => object(App\Application) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'TEMP' => '/tmp', 'TMPDIR' => '/tmp', 'TMP' => '/tmp', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'HOSTNAME' => '', 'USER' => 'www-data', 'HOME' => '/var/www', 'SCRIPT_NAME' => '/webroot/index.php', 'REQUEST_URI' => '/Users/editPerfil/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/webroot/Users/editPerfil/', 'REMOTE_PORT' => '10420', 'SCRIPT_FILENAME' => '//var/www/html/juntos.la/webroot/index.php', 'SERVER_ADMIN' => 'webmaster@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'http', 'DOCUMENT_ROOT' => '/var/www/html/juntos.la', 'REMOTE_ADDR' => '162.158.154.239', 'SERVER_PORT' => '80', 'SERVER_ADDR' => '167.99.233.70', 'SERVER_NAME' => 'www.juntos.la', 'SERVER_SOFTWARE' => 'Apache/2.4.46 (Ubuntu)', 'SERVER_SIGNATURE' => '<address>Apache/2.4.46 (Ubuntu) Server at www.juntos.la Port 80</address> ', 'HTTP_CF_IPCOUNTRY' => 'US', 'HTTP_CDN_LOOP' => 'cloudflare', 'HTTP_CF_CONNECTING_IP' => '52.207.218.95', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_CF_VISITOR' => '{"scheme":"https"}', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CF_RAY' => '86b68cdefaad3af4-EWR', 'HTTP_X_FORWARDED_FOR' => '52.207.218.95', 'HTTP_ACCEPT_ENCODING' => 'gzip, br', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'www.juntos.la', 'proxy-nokeepalive' => '1', 'REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_STATUS' => '200', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711617689.4535, 'REQUEST_TIME' => (int) 1711617689, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'Users/editPerfil/' [protected] base => '' [protected] webroot => '/' [protected] here => '/Users/editPerfil/' [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 => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.juntos.la' [private] port => null [private] path => '/Users/editPerfil/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => (int) 604800 [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")' ] ] [private] mergeFilesAsObjects => false } 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
If you want to customize this error message, create src/Template/Error/error400.ctp