Page 1 of 1

Replay Modes aka gapless - all - single Real Fix

Posted: Sat Apr 10, 2010 7:32 am
by MarcoP
skins/classic/views/event.php line 58 change

Code: Select all

if ( isset( $_REQUEST['replayMode'] ) )
    $replayMode = validHtmlStr($_REQUEST['replayMode']);
to

Code: Select all

if ( isset( $_COOKIE['replayMode']) && preg_match('#^[a-z]+$#', $_COOKIE['replayMode']) )
    $replayMode = validHtmlStr($_COOKIE['replayMode']);
Haven't check what validHtmlStr() really does but just to be sure I'm using preg_match() for additional security.

Posted: Sat Apr 10, 2010 5:38 pm
by whatboy
Cool!!! Thanks!!!

Posted: Wed Apr 14, 2010 7:28 am
by MarcoP