Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git

Fixes quotations

AuthorDaveJarvis <email>
Date2023-11-10 18:58:26 GMT-0800
Commitc63fcdd4697fe6933276d1310153c7eb2185e241
Parent5b63574
www/downloads/counter.php
header( 'Content-Transfer-Encoding: binary' );
header( 'Content-Description: File Transfer' );
- header( "Content-Disposition: attachment; filename='$filename'" );
+ header( "Content-Disposition: attachment; filename=\"$filename\"" );
// If the file doesn't exist, don't count it as a download.
Delta1 line added, 1 line removed