fix: IP-literal can be IPv6addrz#771
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #771 +/- ##
===========================================
+ Coverage 97.26% 97.27% +0.01%
===========================================
Files 155 156 +1
Lines 8518 8565 +47
===========================================
+ Hits 8285 8332 +47
Misses 233 233
Continue to review full report in Codecov by Sentry.
|
|
GCOVR code coverage report https://771.url.prtest2.cppalliance.org/gcovr/index.html |
|
GCOVR code coverage report https://771.url.prtest2.cppalliance.org/gcovr/index.html |
This commit changes the IP-literal rule to also accept IPv6addrz as a valid ipv6 host type. IPv6addrz includes a ZoneID at the end, delimited by an encoded "%25". The ipv6_address class is unmodified, as the mapping from the ZoneID to a std::uint32_t is dependent on the application context. The original ZoneID can be obtained from the url_view. fix boostorg#711
|
GCOVR code coverage report https://771.url.prtest2.cppalliance.org/gcovr/index.html |
This commit changes the IP-literal rule to also accept IPv6addrz as a valid ipv6 host type. IPv6addrz includes a ZoneID at the end, delimited by an encoded "%25". The ipv6_address class is unmodified, as the mapping from the ZoneID to a std::uint32_t is dependent on the application context. The original ZoneID can be obtained from the url_view.
fix #711