summaryrefslogtreecommitdiff
path: root/bin/backend.php
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-28 14:59:33 +0200
committerAlib <aliboba@free.fr>2010-03-28 14:59:33 +0200
commit2b1358884535497eebd6d2ad9a768b56e1953af6 (patch)
treeb27dadd3ebb01c684ec71e8deb1c656e73d92596 /bin/backend.php
parent275c3cd3d4532aa927945a940bb9c5b8304ba365 (diff)
downloadistreamdev-2b1358884535497eebd6d2ad9a768b56e1953af6.tar.gz
istreamdev-2b1358884535497eebd6d2ad9a768b56e1953af6.tar.bz2
fix slashes in dir
Diffstat (limited to 'bin/backend.php')
-rwxr-xr-xbin/backend.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/backend.php b/bin/backend.php
index ca9917a..6cc15f8 100755
--- a/bin/backend.php
+++ b/bin/backend.php
@@ -51,12 +51,12 @@ switch ($action)
break;
case ("getRecInfo"):
- $tree = getRecInfo($_REQUEST['rec']);
+ $tree = getRecInfo(stripslashes($_REQUEST['rec']));
print $tree;
break;
case ("getVidInfo"):
- $tree = getVidInfo($_REQUEST['file']);
+ $tree = getVidInfo(stripslashes($_REQUEST['file']));
print $tree;
break;
@@ -66,7 +66,7 @@ switch ($action)
break;
case ("startBroadcast"):
- $tree = startBroadcast($_REQUEST['type'], $_REQUEST['url'], $_REQUEST['mode']);
+ $tree = startBroadcast($_REQUEST['type'], stripslashes($_REQUEST['url']), $_REQUEST['mode']);
print $tree;
break;
@@ -86,7 +86,7 @@ switch ($action)
break;
case ("editTimer"):
- $tree = editTimer($_REQUEST['id'], $_REQUEST['name'], $_REQUEST['active'], $_REQUEST['channumber'], $_REQUEST['date'], $_REQUEST['starttime'], $_REQUEST['endtime']);
+ $tree = editTimer($_REQUEST['id'], stripslashes($_REQUEST['name']), $_REQUEST['active'], $_REQUEST['channumber'], $_REQUEST['date'], $_REQUEST['starttime'], $_REQUEST['endtime']);
print $tree;
break;