Hide Forgot
Description of problem: Between curl 7.19 (RHEL 6) and curl 7.29 (RHEL 7), a patch has been added to prevent a user to POST a directory. This also prevents to POST a char device. curl: (43) A libcurl function was given a bad argument Version-Release number of selected component (if applicable): curl-7.29.0-54.el7.x86_64 How reproducible: curl --form content="@/dev/null" http://form.example.org Actual results: curl: (43) A libcurl function was given a bad argument Expected results: Should work like on RHEL6, or on RHEL8 (but this part of code has been refactored in this release [7.61]). Additional info: An upstream patch which has been merged on the 7.29 version should fixes the issue. https://github.com/curl/curl/commit/26eaa8383001219e7cd14a153dff95ea9274be6e
Thanks for the link! This should be safe to backport for RHEL-7.
Just to confirm I just tried a backport and it works for me.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:1020