Repository navigation
Release v1.24.0
Release v1.24.0
Changelog
Security
- Password-reset poisoning hardening — new
absolute_url.base_uri(nullable, defaultnull; e.g.'%env(DEFAULT_URI)%'). When set, every absolute URL that leaves the request is built against that fixed origin (scheme, host, port, path prefix) instead of the incomingHostheader: password-reset link and reset-code page link, magic-login link (SymfonyLoginLinkHandler,{_locale}kept), QR login approve URL, and the social-login OAuthredirect_uri(start and code exchange). A forgedHoston the reset / magic request no longer reaches the victim's email.nullkeeps the previous behaviour exactly; then configureframework.trusted_hosts(seedocs/SECURITY.md).
Added
Nowo\AuthKitBundle\Routing\AbsoluteUrlGenerator— wraps the router, applies aRequestContextbuilt frombase_urifor one generation (generate()/withBaseContext()) and restores the original context infinally(FrankenPHP worker-safe).AuthKitUrlGeneratorroutesABSOLUTE_URL/NETWORK_PATHthrough it; relative paths are unchanged.base_uriis validated (absolute http(s) URL, no user info / query / fragment) at compile time for literals and at service construction for%env()%values (empty env = disabled).
Full Changelog: v1.23.1...v1.24.0