Fixed bug #46648: Filenames for *.wav causes potential problems
authorstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Mon, 22 Apr 2013 13:23:09 +0000 (13:23 +0000)
committerstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Mon, 22 Apr 2013 13:23:09 +0000 (13:23 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/sr_freecap/trunk@74718 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
Classes/ViewHelpers/AudioViewHelper.php
doc/manual.sxw

index 2f87724..3de4eda 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-22  Stanislas Rolland  <typo3@sjbr.ca>
+
+       * Fixed bug #46648: Filenames for *.wav causes potential problems
+
 2013-04-20  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #47406: Cleanup in ext_autoload.php
index 5fa03d5..e3003f3 100644 (file)
@@ -67,7 +67,7 @@ class AudioViewHelper extends \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelpe
                // Get browser info (as of iOS 6, audio rendering does not work)
                $browserInfo = \TYPO3\CMS\Core\Utility\ClientUtility::getBrowserInfo(\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('HTTP_USER_AGENT'));
                // Generate the icon
-               if ($settings['accessibleOutput'] && in_array('mcrypt', get_loaded_extensions()) && !in_array('iOS', $browserInfo['all_systems'])) {
+               if ($settings['accessibleOutput'] && in_array('mcrypt', get_loaded_extensions()) && intval($GLOBALS['TYPO3_CONF_VARS']['SYS']['UTF8filesystem']) && !in_array('iOS', $browserInfo['all_systems'])) {
                        $fakeId = \TYPO3\CMS\Core\Utility\GeneralUtility::shortMD5(uniqid (rand()),5);
                        $siteURL = \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_SITE_URL');
                        $urlParams = array(
index 8967d04..de0dd31 100644 (file)
Binary files a/doc/manual.sxw and b/doc/manual.sxw differ