Closed rtpt-erikgeiser closed 2 years ago
With this PR, partial domain name labels are now correctly decoded. However, the information whether the label is partial or not is not exposed to the user and marshaling discards the information.
For a complete solution it would probably be necessary to save the information whether it is partial or not for each label and present this to the user somehow. Therefore, I think it is best just to be able to decode partial labels first.
@rtpt-erikgeiser Sorry for the late review. I left a comment.
Base: 67.39% // Head: 67.41% // Increases project coverage by +0.01%
:tada:
Coverage data is based on head (
034ec2b
) compared to base (3194d6d
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
@pmazzini I removed the superfluous return statement.
This PR only contains a failing test case for #466. I don't know enough about RFC 1035 (especially compressed ones) to be comfortable implementing a solution that does not break anything.