Closed vlakoff closed 6 years ago
By the way, I just found out composer/ca-bundle. It's a one-file class that allows robuster CA detection.
Though, using an embedded CA as I'm doing in this PR should be good enough.
Rebased :)
I just noticed, in /shared_inc/wiki_functions.inc.php
, the function post_request
and its comment "//todo: can be replaced by the solutin from purge() below", which is a bit inexact now, as purge
just calls the curl_request
function I have added.
This legacy post_request
function seems unused, maybe you could simply remove it.
Follow-up to #15.
Maybe #16 should be merged first, then I could rebase this one for better clarity.