-
1. in /net/www/mr42.test/Mr42/Control/DownloadController.phpat line 3728293031323334353637383940414243444546
{ $version = $request->getAttribute('version', null); FileHelper::ensureDirectory($this->aliases->get('@assets/temp')); $phpFile = $this->aliases->get("@assets/../bin/php{$version}-cli"); $archiveFile = $this->aliases->get("@assets/temp/php{$version}.tar"); $compressedFile = $archiveFile . '.bz2'; if (!is_readable($phpFile)) { throw new NotFoundException('The requested file could not be found.'); } $configTime = FileHelper::lastModifiedTime($phpFile); $buildTime = is_readable($compressedFile) ? FileHelper::lastModifiedTime($compressedFile) : 1; if ($buildTime < $configTime) { FileHelper::unlink($compressedFile); $a = new PharData($archiveFile); $a->addFile($this->aliases->get("@root/../bin/php{$version}-cli"), "bin/php{$version}-cli"); foreach (['libonig.so.2'] as $file) {
-
2. Mr42\Control\DownloadController::php()
-
+ 3 - 21 Vendor package files (19)
-
3. in /net/www/mr42.test/vendor/yiisoft/injector/src/Injector.php – ReflectionFunction::invokeArgs()at line 6660616263646566676869707172
* @return mixed the callable return value. */ public function invoke(callable $callable, array $arguments = []) { $callable = Closure::fromCallable($callable); $reflection = new ReflectionFunction($callable); return $reflection->invokeArgs($this->resolveDependencies($reflection, $arguments)); } /** * Creates an object of a given class with resolving constructor dependencies based on parameter types. * * This methods allows invoking a constructor and let type hinted parameter names to be
-
4. in /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareFactory.php – Yiisoft\Injector\Injector::invoke()at line 7367686970717273747576777879
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { /** @var mixed $controller */ $controller = $this->container->get($this->class); /** @var mixed $response */ $response = (new Injector($this->container))->invoke([$controller, $this->method], [$request, $handler]); if ($response instanceof ResponseInterface) { return $response; } throw new InvalidMiddlewareDefinitionException($this->callback); }
-
5. in /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php – Psr\Http\Server\MiddlewareInterface@anonymous /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareFactory.php:54$14c::process()at line 8882838485868788899091929394
public function handle(ServerRequestInterface $request): ResponseInterface { $this->eventDispatcher->dispatch(new BeforeMiddleware($this->middleware, $request)); try { return $response = $this->middleware->process($request, $this->handler); } finally { $this->eventDispatcher->dispatch(new AfterMiddleware($this->middleware, $response ?? null)); } } }; }
-
6. in /net/www/mr42.test/vendor/yiisoft/data-response/src/Middleware/FormatDataResponse.php – Psr\Http\Server\RequestHandlerInterface@anonymous /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php:71$14f::handle()at line 2519202122232425262728293031
{ $this->responseFormatter = $responseFormatter; } public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { $response = $handler->handle($request); if ($response instanceof DataResponse && !$response->hasResponseFormatter()) { $response = $response->withResponseFormatter($this->responseFormatter); } return $response; }
-
7. in /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php – Yiisoft\DataResponse\Middleware\FormatDataResponse::process()at line 8882838485868788899091929394
public function handle(ServerRequestInterface $request): ResponseInterface { $this->eventDispatcher->dispatch(new BeforeMiddleware($this->middleware, $request)); try { return $response = $this->middleware->process($request, $this->handler); } finally { $this->eventDispatcher->dispatch(new AfterMiddleware($this->middleware, $response ?? null)); } } }; }
-
8. in /net/www/mr42.test/vendor/yiisoft/csrf/src/CsrfMiddleware.php – Psr\Http\Server\RequestHandlerInterface@anonymous /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php:71$14f::handle()at line 5044454647484950515253545556
if (!$this->validateCsrfToken($request)) { $response = $this->responseFactory->createResponse(Status::UNPROCESSABLE_ENTITY); $response->getBody()->write(Status::TEXTS[Status::UNPROCESSABLE_ENTITY]); return $response; } return $handler->handle($request); } public function withParameterName(string $name): self { $new = clone $this; $new->parameterName = $name;
-
9. in /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php – Yiisoft\Csrf\CsrfMiddleware::process()at line 8882838485868788899091929394
public function handle(ServerRequestInterface $request): ResponseInterface { $this->eventDispatcher->dispatch(new BeforeMiddleware($this->middleware, $request)); try { return $response = $this->middleware->process($request, $this->handler); } finally { $this->eventDispatcher->dispatch(new AfterMiddleware($this->middleware, $response ?? null)); } } }; }
-
10. in /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php – Psr\Http\Server\RequestHandlerInterface@anonymous /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php:71$14f::handle()at line 5347484950515253545556575859
{ if ($this->isEmpty()) { throw new RuntimeException('Stack is empty.'); } /** @psalm-suppress PossiblyNullReference */ return $this->stack->handle($request); } public function reset(): void { $this->stack = null; }
-
11. in /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareDispatcher.php – Yiisoft\Middleware\Dispatcher\MiddlewareStack::handle()at line 4034353637383940414243444546
public function dispatch(ServerRequestInterface $request, RequestHandlerInterface $fallbackHandler): ResponseInterface { if ($this->pipeline->isEmpty()) { $this->pipeline = $this->pipeline->build($this->buildMiddlewares(), $fallbackHandler); } return $this->pipeline->handle($request); } /** * Returns new instance with middleware handlers replaced. * Last specified handler will be executed first. *
-
12. in /net/www/mr42.test/vendor/yiisoft/router/src/MatchingResult.php – Yiisoft\Middleware\Dispatcher\MiddlewareDispatcher::dispatch()at line 81757677787980818283
$route = $this->route; if ($this->dispatcher !== null && !$route->hasDispatcher()) { $route->injectDispatcher($this->dispatcher); } return $route->getDispatcherWithMiddlewares()->dispatch($request, $handler); } }
-
13. in /net/www/mr42.test/vendor/yiisoft/router/src/Middleware/Router.php – Yiisoft\Router\MatchingResult::process()at line 46404142434445464748
} foreach ($result->parameters() as $parameter => $value) { $request = $request->withAttribute($parameter, $value); } return $result->withDispatcher($this->dispatcher)->process($request, $handler); } }
-
14. in /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php – Yiisoft\Router\Middleware\Router::process()at line 8882838485868788899091929394
public function handle(ServerRequestInterface $request): ResponseInterface { $this->eventDispatcher->dispatch(new BeforeMiddleware($this->middleware, $request)); try { return $response = $this->middleware->process($request, $this->handler); } finally { $this->eventDispatcher->dispatch(new AfterMiddleware($this->middleware, $response ?? null)); } } }; }
-
15. in /net/www/mr42.test/vendor/yiisoft/session/src/SessionMiddleware.php – Psr\Http\Server\RequestHandlerInterface@anonymous /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php:71$14f::handle()at line 3630313233343536373839404142
$requestSessionId = $this->getSessionIdFromRequest($request); if ($requestSessionId !== null && $this->session->getId() === null) { $this->session->setId($requestSessionId); } try { $response = $handler->handle($request); } catch (Throwable $e) { $this->session->discard(); throw $e; } return $this->commitSession($request, $response);
-
16. in /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php – Yiisoft\Session\SessionMiddleware::process()at line 8882838485868788899091929394
public function handle(ServerRequestInterface $request): ResponseInterface { $this->eventDispatcher->dispatch(new BeforeMiddleware($this->middleware, $request)); try { return $response = $this->middleware->process($request, $this->handler); } finally { $this->eventDispatcher->dispatch(new AfterMiddleware($this->middleware, $response ?? null)); } } }; }
-
17. in /net/www/mr42.test/vendor/yiisoft/error-handler/src/Middleware/ErrorCatcher.php – Psr\Http\Server\RequestHandlerInterface@anonymous /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php:71$14f::handle()at line 135129130131132133134135136137138139140141
return $new; } public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { try { return $handler->handle($request); } catch (Throwable $t) { return $this->generateErrorResponse($t, $request); } } /**
-
18. in /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php – Yiisoft\ErrorHandler\Middleware\ErrorCatcher::process()at line 8882838485868788899091929394
public function handle(ServerRequestInterface $request): ResponseInterface { $this->eventDispatcher->dispatch(new BeforeMiddleware($this->middleware, $request)); try { return $response = $this->middleware->process($request, $this->handler); } finally { $this->eventDispatcher->dispatch(new AfterMiddleware($this->middleware, $response ?? null)); } } }; }
-
19. in /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php – Psr\Http\Server\RequestHandlerInterface@anonymous /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php:71$14f::handle()at line 5347484950515253545556575859
{ if ($this->isEmpty()) { throw new RuntimeException('Stack is empty.'); } /** @psalm-suppress PossiblyNullReference */ return $this->stack->handle($request); } public function reset(): void { $this->stack = null; }
-
20. in /net/www/mr42.test/vendor/yiisoft/middleware-dispatcher/src/MiddlewareDispatcher.php – Yiisoft\Middleware\Dispatcher\MiddlewareStack::handle()at line 4034353637383940414243444546
public function dispatch(ServerRequestInterface $request, RequestHandlerInterface $fallbackHandler): ResponseInterface { if ($this->pipeline->isEmpty()) { $this->pipeline = $this->pipeline->build($this->buildMiddlewares(), $fallbackHandler); } return $this->pipeline->handle($request); } /** * Returns new instance with middleware handlers replaced. * Last specified handler will be executed first. *
-
21. in /net/www/mr42.test/vendor/yiisoft/yii-web/src/Application.php – Yiisoft\Middleware\Dispatcher\MiddlewareDispatcher::dispatch()at line 575152535455565758596061
$this->eventDispatcher->dispatch(new AfterEmit($response)); } public function handle(ServerRequestInterface $request): ResponseInterface { $this->eventDispatcher->dispatch(new BeforeRequest($request)); $response = $this->dispatcher->dispatch($request, $this->fallbackHandler); $this->eventDispatcher->dispatch(new AfterRequest($response)); return $response; } }
-
-
22. in /net/www/mr42.test/Mister42/ApplicationRunner.php – Yiisoft\Yii\Web\Application::handle()at line 7266676869707172737475767778
$application = $container->get(Application::class); $request = $container->get(ServerRequestFactory::class)->createFromGlobals(); try { $application->start(); $response = $application->handle($request); $this->emit($request, $response); } catch (Throwable $throwable) { $handler = $this->createThrowableHandler($throwable); $response = $container->get(ErrorCatcher::class)->process($request, $handler); $this->emit($request, $response); } finally {
-
23. in /net/www/mr42.test/webroot/index.php – Mister42\ApplicationRunner::run()at line 1378910111213
require_once dirname(__DIR__) . '/vendor/autoload.php'; $runner = new ApplicationRunner(); // Development mode: $runner->debug(); // Run application: $runner->run();
GET https://mr42.me/dl/php73 Cf-Connecting-Ip: 3.81.221.121 User-Agent: claudebot Accept: */* Cf-Visitor: {"scheme":"https"} X-Forwarded-Proto: https Cf-Ray: 86b6a666ef835a6a-IAD X-Forwarded-For: 3.81.221.121 Accept-Encoding: gzip, br Cf-Ipcountry: US Cdn-Loop: cloudflare Content-Length: Content-Type:
curl -H 'Cf-Connecting-Ip: 3.81.221.121' -H 'User-Agent: claudebot' -H 'Accept: */*' -H 'Cf-Visitor: {"scheme":"https"}' -H 'X-Forwarded-Proto: https' -H 'Cf-Ray: 86b6a666ef835a6a-IAD' -H 'X-Forwarded-For: 3.81.221.121' -H 'Accept-Encoding: gzip, br' -H 'Cf-Ipcountry: US' -H 'Cdn-Loop: cloudflare' -H 'Content-Length: ' -H 'Content-Type: ' https://mr42.me/dl/php73