curl icon indicating copy to clipboard operation
curl copied to clipboard

Bug in curl_escape

Open jeroen opened this issue 4 years ago • 9 comments

curl::curl_escape("")

jeroen avatar Jun 19 '20 17:06 jeroen

just ran into this as well

sckott avatar Jun 28 '20 16:06 sckott

Which version of libcurl? I couldn't reproduce this anymore and I don't know what changed.

jeroen avatar Jun 28 '20 16:06 jeroen

libcurl 7.71.0

sckott avatar Jun 28 '20 16:06 sckott

Strangely, I am not getting this error anymore with libcurl 7.71.0. Can you try reinstalling the curl package?

jeroen avatar Jun 28 '20 16:06 jeroen

from source i assume?

sckott avatar Jun 28 '20 16:06 sckott

i think this https://github.com/ropensci/rbhl/issues/28#issuecomment-638398244 was the last time I installed curl - If I install from cran binary or cran from source I don't get the error and the curl version is 7.64.1, same as curl --version

sckott avatar Jun 28 '20 18:06 sckott

Ugh, there's a number of APIs my pkgs work with that still have that cert issue - so tests are failing with curl 7.64.1, but if I switch to curl 7.71.0, then I get segfaults if i somehow am passing am empty string to curl_escape - I guess for now I use 7.64.1 and filter out any tests that interact with APIs that have the cert issue

sckott avatar Jun 30 '20 17:06 sckott

I think the segfault is a local problem. Doesn't it get solved if you reinstall the curl package?

jeroen avatar Jun 30 '20 19:06 jeroen

yes, but then I have the cert issue. Anyway, will just wait until the various certs are fixed

sckott avatar Jun 30 '20 21:06 sckott