LocaleController :: switch

Request

GET Parameters

Key Value
returnUrl
"https://pawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net/rejestracja"

POST Parameters

No POST parameters

Uploaded Files

No uploaded files

Request Attributes

Key Value
_controller
"App\Controller\LocaleController::switch"
_controller_attributes
[
  Symfony\Component\Routing\Attribute\Route {#6783
    +methods: [
      "GET"
    ]
    +envs: []
    +schemes: []
    +aliases: []
    +path: "/locale/{locale}"
    +name: "app_locale"
    +requirements: [
      "locale" => "pl|en|uk"
    ]
    +options: []
    +defaults: []
    +host: null
    +condition: null
    +priority: null
  }
]
_firewall_context
"security.firewall.map.context.main"
_route
"app_locale"
_route_params
[
  "locale" => "pl"
]
_security_authenticators
[]
_security_firewall_run
"_security_main"
_security_skipped_authenticators
[
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#655
    -supports: false
    -passport: null
    -duration: null
    -stub: "App\Security\AppUserAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: App\Security\AppUserAuthenticator {#111 …}
  }
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#664
    -supports: false
    -passport: null
    -duration: null
    -stub: "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator {#651 …}
  }
]
_stopwatch_token
"7a9f1f"
locale
"pl"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
cookie
"PHPSESSID=d181bab521d48898af0890e98f0f0ee8; main_deauth_profile_token=57adbc"
host
"pawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net"
tailscale-funnel-request
"?1"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
x-forwarded-for
"216.73.217.55"
x-forwarded-host
"pawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net"
x-forwarded-proto
"https"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Retry Command

curl \
  --compressed \
  --url 'https://pawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net/locale/pl?returnUrl=https%3A%2F%2Fpawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net%2Frejestracja' \
  --header 'Accept-Encoding: gzip, br, zstd, deflate' \
  --header 'X-Forwarded-Host: pawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net' \
  --header 'X-Forwarded-Proto: https' \
  --header 'User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' \
  --header 'Accept: */*' \
  --header 'Tailscale-Funnel-Request: ?1' \
  --header 'X-Forwarded-For: 216.73.217.55' \
  --header 'X-Php-Ob-Level: 1' \
  --cookie 'PHPSESSID=d181bab521d48898af0890e98f0f0ee8; main_deauth_profile_token=57adbc'

Response

Response Headers

Header Value
cache-control
"max-age=0, must-revalidate, private"
content-type
"text/html; charset=utf-8"
date
"Mon, 12 Oct 2026 09:06:08 GMT"
expires
"Mon, 12 Oct 2026 09:06:08 GMT"
location
"https://pawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net/rejestracja"
x-debug-token
"968b6d"
x-robots-tag
"noindex"

Cookies

Request Cookies

Key Value
PHPSESSID
"d181bab521d48898af0890e98f0f0ee8"
main_deauth_profile_token
"57adbc"

Response Cookies

No response cookies

Session 3

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

3 Usages
Stateless check enabled
Usage
App\EventSubscriber\LocaleSubscriber:49
[
  [
    "file" => "/app/src/EventSubscriber/LocaleSubscriber.php"
    "line" => 49
    "function" => "get"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 115
    "function" => "onKernelRequest"
    "class" => "App\EventSubscriber\LocaleSubscriber"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 129
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 162
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 79
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/http-kernel/Kernel.php"
    "line" => 143
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/runtime/Runner/FrankenPhpWorkerRunner.php"
    "line" => 62
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "function" => "{closure:Symfony\Component\Runtime\Runner\FrankenPhpWorkerRunner::run():51}"
    "class" => "Symfony\Component\Runtime\Runner\FrankenPhpWorkerRunner"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/runtime/Runner/FrankenPhpWorkerRunner.php"
    "line" => 72
    "function" => "frankenphp_handle_request"
  ]
  [
    "file" => "/app/vendor/autoload_runtime.php"
    "line" => 32
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\FrankenPhpWorkerRunner"
    "type" => "->"
  ]
  [
    "file" => "/app/public/index.php"
    "line" => 5
    "args" => [
      "/app/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:42
[
  [
    "file" => "/app/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 42
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/security-bundle/Security.php"
    "line" => 99
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/security-bundle/Security.php"
    "line" => 54
    "function" => "getToken"
    "class" => "Symfony\Bundle\SecurityBundle\Security"
    "type" => "->"
  ]
  [
    "file" => "/app/src/EventSubscriber/LocaleSubscriber.php"
    "line" => 31
    "function" => "getUser"
    "class" => "Symfony\Bundle\SecurityBundle\Security"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 115
    "function" => "onAuthenticatedRequest"
    "class" => "App\EventSubscriber\LocaleSubscriber"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 206
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 129
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 162
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 79
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/http-kernel/Kernel.php"
    "line" => 143
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/runtime/Runner/FrankenPhpWorkerRunner.php"
    "line" => 62
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "function" => "{closure:Symfony\Component\Runtime\Runner\FrankenPhpWorkerRunner::run():51}"
    "class" => "Symfony\Component\Runtime\Runner\FrankenPhpWorkerRunner"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/runtime/Runner/FrankenPhpWorkerRunner.php"
    "line" => 72
    "function" => "frankenphp_handle_request"
  ]
  [
    "file" => "/app/vendor/autoload_runtime.php"
    "line" => 32
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\FrankenPhpWorkerRunner"
    "type" => "->"
  ]
  [
    "file" => "/app/public/index.php"
    "line" => 5
    "args" => [
      "/app/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
App\Controller\LocaleController:21
[
  [
    "file" => "/app/src/Controller/LocaleController.php"
    "line" => 21
    "function" => "set"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 188
    "function" => "switch"
    "class" => "App\Controller\LocaleController"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 79
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/http-kernel/Kernel.php"
    "line" => 143
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/runtime/Runner/FrankenPhpWorkerRunner.php"
    "line" => 62
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "function" => "{closure:Symfony\Component\Runtime\Runner\FrankenPhpWorkerRunner::run():51}"
    "class" => "Symfony\Component\Runtime\Runner\FrankenPhpWorkerRunner"
    "type" => "->"
  ]
  [
    "file" => "/app/vendor/symfony/runtime/Runner/FrankenPhpWorkerRunner.php"
    "line" => 72
    "function" => "frankenphp_handle_request"
  ]
  [
    "file" => "/app/vendor/autoload_runtime.php"
    "line" => 32
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\FrankenPhpWorkerRunner"
    "type" => "->"
  ]
  [
    "file" => "/app/public/index.php"
    "line" => 5
    "args" => [
      "/app/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_DEBUG
"1"
APP_SECRET
"107306ce07c9b323e9b4bbf6aa33a06e"
CADDY_MERCURE_JWT_SECRET
"!ChangeThisMercureHubJWTSecretKey!"
CADDY_MERCURE_PUBLIC_URL
"https://pawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net/.well-known/mercure"
DATABASE_URL
"mysql://warehouse:zK*32ag+39vAzra{pK@database:3306/test?serverVersion=9.6&charset=utf8mb4"
HTTP3_PORT
"8080"
HTTPS_PORT
"8080"
IMAGES_PREFIX
"warehouse_"
JWT_PASSPHRASE
"46dc05793e2cb32d3a0eedc38bd3828b77e15de3f6019d3c164485cc4502fa1e"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MAILER_DSN
"smtp://mailer:1025"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
MQTT_HOST
"mqtt_broker"
MQTT_PASSWORD
"5sdf23v32z"
MQTT_PORT
"1883"
MQTT_USERNAME
"Iazat72zU"
MYSQL_DATABASE
"test"
MYSQL_PASSWORD
"zK*32ag+39vAzra{pK"
MYSQL_ROOT_PASSWORD
"zK*32ag+39vAzra{pK"
MYSQL_USER
"warehouse"
MYSQL_VERSION
"9.6"
SYMFONY_TRUSTED_HEADERS
"x-forwarded-for,x-forwarded-host,x-forwarded-proto,x-forwarded-port"
SYMFONY_TRUSTED_PROXIES
"127.0.0.1,REMOTE_ADDR"

Defined as regular env variables

Key Value
APP_ENV
"dev"
APP_PROJECT_DIR
"/app"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_MODE
"web=1&worker=1"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/app"
]
AUTH_TYPE
""
COMPOSER_ALLOW_SUPERUSER
"1"
CONTENT_LENGTH
""
CONTENT_TYPE
""
DEFAULT_URI
"https://localhost, pawel-ZenBook-UX325JA-UX325JA.local, http://pawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net:8080"
DOCUMENT_ROOT
"/app/public"
DOCUMENT_URI
"index.php"
FRANKENPHP_HOT_RELOAD
"/.well-known/mercure?topic=https%3A%2F%2Ffrankenphp.dev%2Fhot-reload%2F68f9ea514ed834cb"
FRANKENPHP_SITE_CONFIG
"hot_reload"
FRANKENPHP_WORKER
"1"
FRANKENPHP_WORKER_CONFIG
"watch"
GATEWAY_INTERFACE
"CGI/1.1"
GODEBUG
"cgocheck=0"
GOTENBERG_URL
"http://pdf:3000"
GPG_KEYS
"1198C0117593497A5EC5C199286AF1F9897469DC 49D9AF6BC72A80D6691719C8AA23F5BE9C7097D4 D95C03BC702BE9515344AE3374E44BC9067701A5"
HOME
"/root"
HOSTNAME
"649d79e0b213"
HTTPS
""
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_COOKIE
"PHPSESSID=d181bab521d48898af0890e98f0f0ee8; main_deauth_profile_token=57adbc"
HTTP_HOST
"pawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net"
HTTP_TAILSCALE_FUNNEL_REQUEST
"?1"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_X_FORWARDED_FOR
"216.73.217.55"
HTTP_X_FORWARDED_HOST
"pawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net"
HTTP_X_FORWARDED_PROTO
"https"
MERCURE_EXTRA_DIRECTIVES
"demo"
MERCURE_JWT_SECRET
"!ChangeThisMercureHubJWTSecretKey!"
MERCURE_PUBLIC_URL
"https://pawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net/.well-known/mercure"
MERCURE_PUBLISHER_JWT_KEY
"!ChangeThisMercureHubJWTSecretKey!"
MERCURE_SUBSCRIBER_JWT_KEY
"!ChangeThisMercureHubJWTSecretKey!"
MERCURE_URL
"http://php/.well-known/mercure"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PATH_INFO
""
PHPIZE_DEPS
"autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c"
PHP_ASC_URL
"https://www.php.net/distributions/php-8.5.9.tar.xz.asc"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_INI_DIR
"/usr/local/etc/php"
PHP_INI_SCAN_DIR
":/usr/local/etc/php/app.conf.d"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PHP_SELF
"/index.php"
PHP_SHA256
"0db7855f25bcd0ab1d592cdb35e284d6f6a5d2ae0f6f621122e364cc39b708f4"
PHP_URL
"https://www.php.net/distributions/php-8.5.9.tar.xz"
PHP_VERSION
"8.5.9"
PWD
"/app"
QUERY_STRING
"returnUrl=https%3A%2F%2Fpawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net%2Frejestracja"
REMOTE_ADDR
"172.24.0.1"
REMOTE_HOST
"172.24.0.1"
REMOTE_IDENT
""
REMOTE_PORT
"35324"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1791795968
REQUEST_TIME_FLOAT
1791795968.6644
REQUEST_URI
"/locale/pl?returnUrl=https%3A%2F%2Fpawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net%2Frejestracja"
SCRIPT_FILENAME
"/app/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_NAME
"pawel-zenbook-ux325ja-ux325ja.tail089c3d.ts.net"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"FrankenPHP"
SSL_CIPHER
""
SSL_PROTOCOL
""
STABILITY
"stable"
SYMFONY_DOTENV_PATH
"/app/.env"
SYMFONY_DOTENV_VARS
"APP_DEBUG,APP_SECRET,IMAGES_PREFIX,MAILER_DSN,MYSQL_VERSION,MYSQL_DATABASE,MYSQL_USER,MYSQL_PASSWORD,MYSQL_ROOT_PASSWORD,DATABASE_URL,HTTPS_PORT,HTTP3_PORT,CADDY_MERCURE_PUBLIC_URL,CADDY_MERCURE_JWT_SECRET,MESSENGER_TRANSPORT_DSN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,SYMFONY_TRUSTED_PROXIES,SYMFONY_TRUSTED_HEADERS,MQTT_HOST,MQTT_PORT,MQTT_USERNAME,MQTT_PASSWORD"
SYMFONY_VERSION
""
TERM
"xterm"
XDEBUG_MODE
"develop"
XDG_CONFIG_HOME
"/config"
XDG_DATA_HOME
"/data"