Replay Modes aka gapless - all - single Real Fix
Posted: Sat Apr 10, 2010 7:32 am
skins/classic/views/event.php line 58 change
to
Haven't check what validHtmlStr() really does but just to be sure I'm using preg_match() for additional security.
Code: Select all
if ( isset( $_REQUEST['replayMode'] ) )
$replayMode = validHtmlStr($_REQUEST['replayMode']);
Code: Select all
if ( isset( $_COOKIE['replayMode']) && preg_match('#^[a-z]+$#', $_COOKIE['replayMode']) )
$replayMode = validHtmlStr($_COOKIE['replayMode']);