Skip to content

fix: handle brackets in ssl settings#1174

Merged
ferhatelmas merged 1 commit into
masterfrom
ferhat/ssl-brackets
Jun 23, 2026
Merged

fix: handle brackets in ssl settings#1174
ferhatelmas merged 1 commit into
masterfrom
ferhat/ssl-brackets

Conversation

@ferhatelmas

@ferhatelmas ferhatelmas commented Jun 23, 2026

Copy link
Copy Markdown
Member

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

IP detection for SSL settings doesn't handle brackets in the url.

What is the new behavior?

It's handled correctly and covered by tests.

Additional context

Bug is prior to #1173 but while on it, addressed.
Also hand roll hostname parser to drop full url parsing.

also do not use url

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
@ferhatelmas ferhatelmas requested a review from a team as a code owner June 23, 2026 12:12
Copilot AI review requested due to automatic review settings June 23, 2026 12:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 28025298882

Coverage increased (+0.01%) to 78.426%

Details

  • Coverage increased (+0.01%) from the base build.
  • Patch coverage: 5 uncovered changes across 1 file (34 of 39 lines covered, 87.18%).
  • No coverage regressions found.

Uncovered Changes

File Changed Covered %
src/internal/database/ssl.ts 39 34 87.18%

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 12121
Covered Lines: 9956
Line Coverage: 82.14%
Relevant Branches: 6976
Covered Branches: 5021
Branch Coverage: 71.98%
Branches in Coverage %: Yes
Coverage Strength: 387.75 hits per line

💛 - Coveralls

@ferhatelmas ferhatelmas merged commit ede4973 into master Jun 23, 2026
25 of 26 checks passed
@ferhatelmas ferhatelmas deleted the ferhat/ssl-brackets branch June 23, 2026 12:49
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