Issue Bug Closed

#35006Content Element Media missing slash

Björn Paulsen 03/19/12, 14:51 updated 03/20/12, 09:34

Description

In the file typo3/sysext/cms/tslib/content/class.tslib_content_shockwaveflashobject.php

must be a slash in the line 85:

Wrong:
$conf[‘flashvars.’][‘file’] = $prefix . $filename;

Right:
$conf[‘flashvars.’][‘file’] = $prefix . ‘/’ .$filename;

because it will be render this and this is wrong:
<object type="application/x-shockwave-flash" data="typo3/contrib/flashmedia/flvplayer.swf" width="600" height="400" id="mmswf4f673801a5076" style="visibility: visible; "><param name="quality" value="high"><param name="menu" value="false"><param name="allowScriptAccess" value="sameDomain"><param name="allowFullScreen" value="true"><param name="flashvars" value="file=http://www.*+domain.defileadmin+*/ContentImages/video.flv"></object>

right will be:
<object type="application/x-shockwave-flash" data="typo3/contrib/flashmedia/flvplayer.swf" width="600" height="400" id="mmswf4f673801a5076" style="visibility: visible; "><param name="quality" value="high"><param name="menu" value="false"><param name="allowScriptAccess" value="sameDomain"><param name="allowFullScreen" value="true"><param name="flashvars" value="file=http://www.*+domain.de/fileadmin+*/ContentImages/video.flv"></object>

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.