Commit 58f3dbef authored by Alyx's avatar Alyx
Browse files

Update live.php

parent 9678a09b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
<?php
$key = $_GET["s"];
$urlunsafe = 'https://trichrome.tv/_/' . $_GET["s"] . '.m3u8';
$url = htmlentities($urlunsafe);
htmlentities($key)
$url = 'https://trichrome.tv/_/' . $_GET["s"] . '.m3u8';
header('Cache-Control: no-cache');
if (!preg_match("/^[a-zA-Z0-9]+$/", $key)) {
    header('HTTP/1.1 400 Bad Request');