Skip to content

[ACS-10385] Fix missing "WWW-Authenticate" header#72

Merged
cezary-witkowski merged 3 commits intosupport/SP/10.Nfrom
fix/ACS-10385-rss-subscription
Oct 1, 2025
Merged

[ACS-10385] Fix missing "WWW-Authenticate" header#72
cezary-witkowski merged 3 commits intosupport/SP/10.Nfrom
fix/ACS-10385-rss-subscription

Conversation

@cezary-witkowski
Copy link
Copy Markdown

@cezary-witkowski cezary-witkowski commented Sep 30, 2025

…the response should be considered to be committed and should not be written to". Looks like Tomcat 10 is stricter with this method's contract.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a compatibility issue with Tomcat 10 by reordering HTTP response operations to comply with the sendError method contract. The change ensures the "WWW-Authenticate" header is set before calling sendError, which commits the response.

  • Moved the WWW-Authenticate header setting to occur before the sendError call

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@cezary-witkowski cezary-witkowski marked this pull request as ready for review October 1, 2025 09:53
Copy link
Copy Markdown

@gerardolenski gerardolenski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! It was tricky

@cezary-witkowski cezary-witkowski merged commit dd718f8 into support/SP/10.N Oct 1, 2025
3 checks passed
@cezary-witkowski cezary-witkowski deleted the fix/ACS-10385-rss-subscription branch October 1, 2025 10:29
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.

4 participants