Skip to content

Conversation

@Playacem
Copy link
Member

@Playacem Playacem commented Sep 1, 2024

While helping people with CORS this is one thing I have seen people use and then getting confused as to why it doesn't work. This is already documented in the cors plugin page but catching this on startup should be a better experience.

This is technically a breaking change but as browsers already reject this combination should be considered a bug fix as we adopt the browser behaviour, leading to a better experience as you now get immediate feedback on what went wrong instead of having to debug this in a browser.

@codecov
Copy link

codecov bot commented Sep 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.30%. Comparing base (3afb5b3) to head (357b9d3).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2321   +/-   ##
=========================================
  Coverage     86.30%   86.30%           
- Complexity     1311     1314    +3     
=========================================
  Files           148      148           
  Lines          4044     4046    +2     
  Branches        508      509    +1     
=========================================
+ Hits           3490     3492    +2     
  Misses          333      333           
  Partials        221      221           

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

@tipsy tipsy merged commit 9fb548e into javalin:master Nov 2, 2024
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.

2 participants