Parser for b3 trace ID header assumes the length is at least 20 characters, but b3 accepts length of 16 characters as well. Instead of throwing an error, accept b3 trace id as it was provided and it only gets validated by b3.ParseSingleHeader.
[X] I have viewed signed and have submitted the Contributor License Agreement
[X] I have made this pull request to the main branch
[X] I have gorouter unit tests
[ ] (Optional) I have run Routing Acceptance Tests and Routing Smoke Tests
Reported here https://github.com/cloudfoundry/routing-release/issues/346
Parser for b3 trace ID header assumes the length is at least 20 characters, but b3 accepts length of 16 characters as well. Instead of throwing an error, accept b3 trace id as it was provided and it only gets validated by
b3.ParseSingleHeader
.[X] I have viewed signed and have submitted the Contributor License Agreement
[X] I have made this pull request to the
main
branch[X] I have gorouter unit tests
[ ] (Optional) I have run Routing Acceptance Tests and Routing Smoke Tests
[ ] (Optional) I have run CF Acceptance Tests