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

CURLOPT_SAFE_UPLOAD is not supported #6569

Closed
mattflaschen opened this issue Nov 18, 2015 · 0 comments
Closed

CURLOPT_SAFE_UPLOAD is not supported #6569

mattflaschen opened this issue Nov 18, 2015 · 0 comments

Comments

@mattflaschen
Copy link

Per http://php.net/manual/en/function.curl-setopt.php , CURLOPT_SAFE_UPLOAD is a new option 5.5.0+. In 5.5.0 it defaults to false. In 5.6.0 it defaults to true:

" TRUE to disable support for the @ prefix for uploading files in CURLOPT_POSTFIELDS, which means that values starting with @ can be safely passed as fields. CURLFile may be used for uploads instead."

See also https://wiki.php.net/rfc/curl-file-upload .

We are using 5.6.99-hhvm, but it does not recognize CURLOPT_SAFE_UPLOAD at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants