Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid boolean value for CURLOPT_SSL_VERIFYHOST #9772

Closed
opengeek opened this issue Apr 4, 2013 · 0 comments
Closed

Fix invalid boolean value for CURLOPT_SSL_VERIFYHOST #9772

opengeek opened this issue Apr 4, 2013 · 0 comments
Labels
area-core bug The issue in the code or project, which should be addressed.

Comments

@opengeek
Copy link
Member

opengeek commented Apr 4, 2013

opengeek created Redmine issue ID 9772

See PHP internals discussion at http://grokbase.com/t/php/php-internals/12ck7kq37g/changes-in-libcurl-for-curlopt-ssl-verifyhost-in-7-28-1

To prepare for the removal of support for a value of 1 with libcurl 7.28.1, PHP now throws a PHP Notice warning when this value is set to 1 (or true). The current AWS library integrated into the MODX core is setting this value to true improperly and triggering this warning. This causes many S3 Media Source issues when display_errors is enabled.

enigmatic-user pushed a commit to enigmatic-user/revolution that referenced this issue Feb 13, 2014
The AWS library integrated into core currently sets CURLOPT_SSL_VERIFYHOST to true (1), which is deprecated in libcurl (to be removed in 7.28.1). This should be set to 2, which prevents a PHP Notice from being triggered.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core bug The issue in the code or project, which should be addressed.
Projects
None yet
Development

No branches or pull requests

1 participant