mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-03-13 08:00:15 +00:00
Fix Content-Disposition.
This commit is contained in:
parent
5077ca16af
commit
dd08c6f890
@ -45,9 +45,8 @@ if ( $qry->QDo('SELECT * FROM tz_localnames WHERE our_tzno = :our_tzno', array('
|
||||
|
||||
header( 'ETag: "'.$tz->etag.'"' );
|
||||
header( 'Last-Modified', $tz->last_modified );
|
||||
header( 'Content-Disposition', $tzid . '.ics' );
|
||||
header( 'Content-Disposition', 'Attachment; Filename="'.str_replace('/','-',$tzid . '.ics"' );
|
||||
|
||||
|
||||
$request->DoResponse(200, $vtz->Render(), 'text/calendar');
|
||||
$request->DoResponse(200, $vtz->Render(), 'text/calendar; charset=UTF-8');
|
||||
|
||||
exit(0);
|
||||
Loading…
x
Reference in New Issue
Block a user