summaryrefslogtreecommitdiffstats
path: root/tv.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-12-05 04:43:13 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-12-05 04:43:13 +0000
commitca34aa1edeb011baed4e2a6fabe56d90c0ba314d (patch)
tree19ef4bdd32a97f1effc6e50d2e06dba74fb398ba /tv.php
parentafe3b2fcb0183426c34620dfe2d68ed41f84d1d9 (diff)
downloadampache-ca34aa1edeb011baed4e2a6fabe56d90c0ba314d.tar.gz
ampache-ca34aa1edeb011baed4e2a6fabe56d90c0ba314d.tar.bz2
ampache-ca34aa1edeb011baed4e2a6fabe56d90c0ba314d.zip
* Prevent Album art set on demo because people put porn in there :(
* Fix Push functionality for the Democratic view stuff * Add footer div definition per Apex's request * Fix Config display with multi-value elements * Added plugin checking to update.php wq
Diffstat (limited to 'tv.php')
-rw-r--r--tv.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tv.php b/tv.php
index 1b232897..f0bba83c 100644
--- a/tv.php
+++ b/tv.php
@@ -55,10 +55,11 @@ switch ($action) {
access_denied();
break;
}
+
$stream_type = scrub_in($_REQUEST['play_type']);
$tmp_playlist = new tmpPlaylist($_REQUEST['tmp_playlist_id']);
$stream = new Stream($stream_type,array());
- $stream->manual_url_add($tmp_playlist->get_vote_url());
+ $stream->manual_url_add(unhtmlentities($tmp_playlist->get_vote_url()));
$stream->start();
break;
case 'update_playlist':