File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ the name of the firewall, defined in ``security.yml``). Upon a successful
10
10
login, the user is redirected to this path, as to help them continue from the
11
11
last known page they visited.
12
12
13
- On some occasions , this is unexpected . For example when the last request before logout
14
- was an XMLHttpRequest route, the user may be redirected back to an invalid
15
- route .
13
+ In some situations , this is not ideal . For example when the last request
14
+ URI was an XMLHttpRequest which returned a non-HTML or partial HTML response,
15
+ the user is redirected back to a page which the browser cannot render .
16
16
17
17
To get around this behavior, you would simply need to extend the ``ExceptionListener ``
18
18
class and override the default method named ``setTargetPath() ``.
You can’t perform that action at this time.
0 commit comments