diff options
| author | Bert Koorengevel <BertKoor@users.noreply.github.com> | 2026-02-09 19:55:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-09 18:55:45 +0000 |
| commit | d371bd1b73ac6ee722f48a9a7a6bdebf8002bf13 (patch) | |
| tree | 8bac58aae09b9cfdc670259cf840770b87ae9e77 /app/Elements/Death.php | |
| parent | 4e418e7a5a92798abecbbd5cab699c72173c80b0 (diff) | |
| download | webtrees-d371bd1b73ac6ee722f48a9a7a6bdebf8002bf13.tar.gz webtrees-d371bd1b73ac6ee722f48a9a7a6bdebf8002bf13.tar.bz2 webtrees-d371bd1b73ac6ee722f48a9a7a6bdebf8002bf13.zip | |
when logging out the homepage is fetched twice (#5160)
* fix #5153: When logging out the homepage is fetched twice.
The logout request handler may respond with a simple 204-NoContent.
The originating view already contains redirection.
As reported on the forum, some servers don't cope well.
* fix #5153 updated: chose whether to respond with empty response or redirection
Check whether header 'X-Requested-With' is not empty, similar as done in HandleExceptions.php
so actual value of the header may change and not affect this behaviour.
Diffstat (limited to 'app/Elements/Death.php')
0 files changed, 0 insertions, 0 deletions
