Skip to content

Fix ignore host name#8

Merged
franksinankaya merged 1 commit intomicrosoft:masterfrom
Aleksandr-Melnikov:fix_ignore_host_name
Nov 23, 2024
Merged

Fix ignore host name#8
franksinankaya merged 1 commit intomicrosoft:masterfrom
Aleksandr-Melnikov:fix_ignore_host_name

Conversation

@Aleksandr-Melnikov
Copy link
Copy Markdown
Contributor

  1. "Security ignore" enum had values 0,1,2,3 but it was used with or operator. So, it was changed to hex values 0x01, 0x02, 0x04, 0x10.
  2. If "Host" header is passed with the request, then it supposed to be used in ssl hostname validation instead of ip address that is used as hostname part of url. In such case we still can perform peer cert validation but omit host name validation.

@franksinankaya franksinankaya merged commit da0a4e8 into microsoft:master Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants