8000 Check for dot in client side host when using wildcard hosts by Playacem · Pull Request #2133 · javalin/javalin · GitHub
[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for dot in client side host when using wildcard hosts #2133

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

Playacem
Copy link
Member

This fixes the Exception as described in #2104.

Will do another PR soon to rewrite it using the JDK's URI class.

Fixes #2104

Copy link
codecov bot commented Feb 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.31%. Comparing base (54835a1) to head (2c751da).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2133   +/-   ##
=========================================
  Coverage     86.31%   86.31%           
- Complexity     1296     1297    +1     
=========================================
  Files           148      148           
  Lines          4040     4042    +2     
  Branches        505      506    +1     
=========================================
+ Hits           3487     3489    +2     
  Misses          334      334           
  Partials        219      219           

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

@tipsy tipsy merged commit bcba586 into javalin:master Feb 24, 2024
15 checks passed
@Playacem Playacem deleted the gh-2104-cors-index-oob branch February 24, 2024 17:44
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.

CORS IndexOutOfBoundsException when you pass an Origin without a .
2 participants
0