Skip to content

Conversation

@NicolaeIotu
Copy link
Contributor

@NicolaeIotu NicolaeIotu commented Nov 26, 2023

When CURLRequest options 'verify' is set to false, some CURLOPT_SSL_... options should be disabled in such a way as to allow requests to pass through in case the destination is for example on private networks.

Description
Explain what you have changed, and why.

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide
When CURLRequest options 'verify' is set to false, some CURLOPT_SSL_... options should be disabled in such a way as to allow requests to pass through in case the destination is for example on private networks.
@kenjis
Copy link
Member

kenjis commented Nov 26, 2023

Thank you for sending a PR.
But some checks were not successful.
Please fix the code to pass all checks.

First of all, you need to sign your git commits.
https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#signing

@kenjis kenjis changed the title Skip hostname checks if CURLRequest options 'verify' is set to false. fix: Skip hostname checks if CURLRequest options 'verify' is set to false. Nov 26, 2023
@kenjis kenjis added the bug Verified issues on the current code behavior or pull requests that will fix them label Nov 26, 2023
When CURLRequest options 'verify' is set to false, some CURLOPT_SSL_... options should be disabled in such a way as to allow requests to pass through in case the destination is for example on private networks.
@NicolaeIotu
Copy link
Contributor Author

I will redo this PR.

@NicolaeIotu NicolaeIotu deleted the CURLOPT_SSL_VERIFYHOST branch November 26, 2023 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Verified issues on the current code behavior or pull requests that will fix them

2 participants