We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2fa73d commit f9a65baCopy full SHA for f9a65ba
src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php
@@ -273,7 +273,7 @@ private function determineTargetUrl(Request $request)
273
return $targetUrl;
274
}
275
276
- if ($this->options['use_referer'] && $targetUrl = $request->headers->get('Referer')) {
+ if ($this->options['use_referer'] && ($targetUrl = $request->headers->get('Referer')) && $targetUrl !== $request->getUriForPath($this->options['login_path'])) {
277
278
279
0 commit comments