Skip to content

Conversation

@BertKoor
Copy link
Contributor

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.

Affected user reported back this patch does the trick: logout goes smoothly.

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.
@codecov
Copy link

codecov bot commented May 28, 2025

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 35.07%. Comparing base (e7a9d13) to head (f9ced6c).
⚠️ Report is 113 commits behind head on main.

Files with missing lines Patch % Lines
app/Http/RequestHandlers/Logout.php 0.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #5160      +/-   ##
============================================
- Coverage     35.53%   35.07%   -0.46%     
- Complexity    11143    11204      +61     
============================================
  Files          1157     1161       +4     
  Lines         47737    48488     +751     
============================================
+ Hits          16961    17009      +48     
- Misses        30776    31479     +703     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…ponse 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.
@BertKoor BertKoor force-pushed the issue5153_logoutTriggersFetchHomeTwice branch from 76d4626 to f9ced6c Compare August 14, 2025 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant