08/14/2014 at 11:08 am
#300874
Keymaster
@ Kasper
Not having a Mac makes this impossible for me to track down as to why… I don’t think I would have ever thought of changing the file extension and I have no clue why changing it would matter. If you have moment, could you try something for me?
If the connections.php file where you change the file ext, can you change the entire header section to this:
header( 'Content-Description: File Transfer');
header( 'Content-Type: application/octet-stream' );
header( 'Content-Disposition: attachment; filename=' . $filename . '.vcf' );
header( 'Content-Length: ' . strlen( $data ) );
header( 'Pragma: public' );
header( "Pragma: no-cache" );
//header( "Expires: 0" );
header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' );
header( 'Cache-Control: private' );
// header( 'Connection: close' );
ob_clean();
flush();
echo $data;
exit;
And then in the class.entry-vcard.php file, change line 317 to this:
$this->card .= "END:VCARD";
Let me know if this solves the issue.
