vCard parser fixes

This commit is contained in:
RainLoop Team 2015-03-09 23:42:43 +04:00
parent 147dce6e4a
commit 3613bf5270
8 changed files with 62 additions and 20 deletions

View file

@ -483,7 +483,7 @@ class Client {
if ($mr > 0)
{
$newurl = curl_getinfo($curl, CURLINFO_EFFECTIVE_URL);
$rcurl = curl_copy_handle($curl);
curl_setopt($rcurl, CURLOPT_HEADER, true);
curl_setopt($rcurl, CURLOPT_NOBODY, true);
@ -512,7 +512,7 @@ class Client {
}
}
} while ($code && --$mr);
curl_close($rcurl);
if ($mr > 0)
{