Skip to content

fix: "@authority" canonicalization corrected - #196

Merged
dadrus merged 2 commits into
mainfrom
fix/authority
Nov 7, 2026
Merged

dadrus merged 2 commits into
mainfrom
fix/authority

Conversation

@dadrus

@dadrus dadrus commented Nov 7, 2026

Copy link
Copy Markdown
Owner

This PR fixes "@authority" canonicalization according to RFC 9421 and RFC 9110. It corrects IPv6 bracket handling, port normalization, and percent-encoded hostnames while rejecting malformed authorities.

@dadrus
dadrus merged commit a572b10 into main Nov 7, 2026
9 checks passed
@codecov

codecov Bot commented Nov 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.01980% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.94%. Comparing base (b6e9ce3) to head (a610842).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
net.go 97.64% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #196      +/-   ##
==========================================
- Coverage   97.94%   97.94%   -0.01%     
==========================================
  Files          22       23       +1     
  Lines        1511     1603      +92     
==========================================
+ Hits         1480     1570      +90     
- Misses         31       33       +2     

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

@dadrus
dadrus deleted the fix/authority branch November 7, 2026 00:56
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.

1 participant