·
1 commit
to master
since this release
Included commits: 1.15.0...1.16.0
Improvements
- Introduced
HttpService::isRequestEligibleForRedirect()to determine whether a request is a valid candidate for post-login redirect, excluding AJAX requests, non-GET methods, authentication paths, and internal
framework paths. - Introduced
HttpService::isValidRelativeUrl()to validate that a URL is a safe relative redirect target, rejecting absolute URLs, protocol-relative URLs, and any value not starting with/. - Introduced
HttpConfig::getInternalPathPrefix(),HttpConfig::getAuthenticationPathPattern(),HttpConfig::getAcceptHeaderHtml(), andHttpConfig::getHttpHeaderAccept()to configure redirect eligibility checks.