﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
10552	Setup Wizard video test is broken	JYA	Raymond Wagner	"When trying to download either the SD or HD video sample; we get:
{{{
<?
Header( ""HTTP/1.1 302 Moved Temporarily"" );

$agent = $_SERVER['HTTP_USER_AGENT'];
$file = """";

if (preg_match('/Torc/i', $agent)) {
	Header( ""Location: http://www.torcdvr.com/"" );
}
else
{
	if (preg_match('/mythdownloadmanager/i', $agent) && isset($_GET['sample'])) {
		if ($_GET['sample'] == ""HD"") {
			$file = ""mythtv_video_test_HD_19000Kbps_H264.mkv"";
		} else {
			$file = ""mythtv_video_test_SD_6000Kbps_H264.mkv"";
		}

		Header( ""Location: ftp://ftp.osuosl.org/pub/mythtv/samples/videos/$file"");
	}
	else
	{
		Header( ""Location: http://www.mythtv.org/"" );
	}
}

?>
}}}

looks like a broken php header, shouldn't it start with <?php"	Bug Report - General	closed	minor	0.25	MythTV - General	Unspecified	medium	Fixed			0
