Page 1 of 1
streaming of files with big letters in the extension fails
Posted: Sat Feb 26, 2005 5:02 pm
by Superlexx
put test.MP3 into the media dir, update the database and try streaming the file - it fails. Now rename the file to test.mp3, update the DB and try again - it works.
Posted: Sat Feb 26, 2005 8:43 pm
by wbartels
Thanks,
It is easy to fix:
change line 112 from stream.php
Code: Select all
$extension = $pathinfo['extension'];
to
Code: Select all
$extension = strtolower($pathinfo['extension']);
The same bug accurse when trying to record from files with high case extensions.
change line 135 from record.php
Code: Select all
$extension = $pathinfo['extension'];
to
Code: Select all
$extension = strtolower($pathinfo['extension']);
Posted: Sun Feb 27, 2005 12:05 am
by Superlexx
thx 4 the fix, works now
