• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

icerpc / icerpc-csharp / 33004725954
86%

Build:
DEFAULT BRANCH: main
Ran 26 Aug 2026 07:25PM UTC
Jobs 1
Files 257
Run time 5min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Aug 2026 07:21PM UTC coverage: 87.959% (-0.04%) from 88.001%
33004725954

push

github

web-flow
Store IPv6 hosts without brackets in ServerAddress (#4875)

Addresses finding L-01 of #4832.

`Uri.CheckHostName` accepts both `::1` and `[::1]` as IPv6 hosts, but
everything downstream of `ServerAddress.Host` assumes the unbracketed
form: the URI serialization brackets any host containing `:`, so a
bracketed host produced `icerpc://[[::1]]` and `ToUri()` threw
`UriFormatException`. The `ServerAddress(Uri)` constructor was
unaffected — `Uri.IdnHost` strips the brackets.

- The `Host` init setter now stores a bracketed IPv6 address without its
brackets, like the `Uri` constructor does.
- `DecodeTcpServerAddressBody` (the other host validation relying on
`Uri.CheckHostName`) now rejects a bracketed host: the host name in an
Ice tcp/ssl server address is never bracketed, even when it's an IPv6
address.

## What's Changed entry

Area: Core

- Fixed a bug where setting `ServerAddress.Host` to a bracketed IPv6
address such as `[::1]` produced a server address whose `ToUri` throws
`UriFormatException`. The brackets are now stripped on assignment.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

2 of 2 new or added lines in 2 files covered. (100.0%)

20 existing lines in 3 files now uncovered.

12396 of 14093 relevant lines covered (87.96%)

3011.35 hits per line

Coverage Regressions

Lines Coverage ∆ File
13
89.81
-1.16% src/IceRpc/Transports/Slic/Internal/SlicConnection.cs
5
88.35
-4.85% src/IceRpc/Internal/PipeReaderExtensions.cs
2
76.92
-0.81% src/IceRpc/Transports/Tcp/Internal/TcpConnection.cs
Jobs
ID Job ID Ran Files Coverage
1 33004725954.1 26 Aug 2026 07:25PM UTC 3841
15.56
GitHub Action Run
Source Files on build 33004725954
  • Tree
  • List 257
  • Changed 206
  • Source Changed 2
  • Coverage Changed 206
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33004725954
  • f489836b on github
  • Prev Build on main (#33004671341)
  • Next Build on main (#33005782383)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc