The problem there was less severe than it sounds:
The port number was not treated as hex. The arithmetics to summ up the digits has already been using base 10.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1138697 13f79535-47bb-0310-9956-
ffa450edef68
<subsection name="Coyote">
<changelog>
<fix>
- When parsing the port in the HTTP host header, treat the port as a base
- 10 integer rather than a hexadecimal one. (rjung/markt/kkolinko)
+ When parsing the port in the HTTP host header, restrict the value to be
+ base 10 integer digits rather than hexadecimal ones.
+ (rjung/markt/kkolinko)
</fix>
<update>
Various refactorings to reduce code duplication and unnecessary code in