Skip to content

Conversation

Tanky-Zhang
Copy link
Contributor

经过线上验证发现,目前Https的绕过并不完全,因为包中默认使用了DefaultHostnameVerifier进行host验证,当然对于大部分网站是没有问题的,但是对于部分证书混乱的网站,这里可能会出现SSL的异常,所以这里我改成了不进行host验证,永远为true

@Tanky-Zhang
Copy link
Contributor Author

@code4craft 你好,可以帮忙看下这次变更,是否可以合并到主干吗

@sutra sutra merged commit 244ade7 into code4craft:develop Mar 22, 2023
KamiNoYuki added a commit to KamiNoYuki/webmagic-for-android that referenced this pull request Mar 25, 2023
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