Skip to content

Conversation

IgorOffline
Copy link

Fix for 33682

Also remove BeforeEach in CrossOriginTests because many tests do not need the "setup" step.

* header presence and ensuring that origins are different.
*/
public static boolean isCorsRequest(HttpServletRequest request) {
public static IsCorsRequestResult isCorsRequest(HttpServletRequest request) {

Choose a reason for hiding this comment

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

Is it OK to introduce a breaking public API change for this bugfix? If so, it's probably worth documenting in the release notes.

@simonbasle
Copy link
Contributor

Thanks for the PR @IgorOffline, although I was already working on it (as indicated by the fact that I'm assigned the issue). Your solution is going a bit too far anyway.

Note I have mistakenly referred the PR in my own version of the fix though 😅 See gh-33682

@simonbasle simonbasle added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Oct 14, 2024
@simonbasle simonbasle self-assigned this Oct 14, 2024
@IgorOffline
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: declined A suggestion or change that we don't feel we should currently apply

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants