ok2c commented on PR #876:
URL: 
https://github.com/apache/httpcomponents-client/pull/876#issuecomment-5385052306

   > one thing worth flagging: DefaultHostnameVerifier.matchIdentity calls 
verifyInternal directly rather than through verify, so with the logic moved up 
it now relies on the identity already being in normalised form. that matches 
the pre-existing behaviour on master, but if you'd like that path covered too 
i'm happy to normalise the identity at that call site.
   
   The reason `#verifyInternal` exists at all is to avoid having to run the 
input through the normalization process multiple times. 
`DefaultHostnameVerifier#matchIdentity` normalizes the input at the beginning 
of the routine and then passes it normalized to the PSM. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to