summaryrefslogtreecommitdiffstats
path: root/play
diff options
context:
space:
mode:
Diffstat (limited to 'play')
-rw-r--r--play/index.php10
-rw-r--r--play/pupload.php2
2 files changed, 6 insertions, 6 deletions
diff --git a/play/index.php b/play/index.php
index 05d04d63..01e37db7 100644
--- a/play/index.php
+++ b/play/index.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2005 Ampache.org
+ Copyright (c) 2001 - 2006 Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
@@ -32,10 +32,10 @@ require_once('../modules/init.php');
require_once(conf('prefix') . '/lib/Browser.php');
-/* These parameters has better come on the url. */
-$uid = htmlspecialchars($_REQUEST['uid']);
-$song_id = htmlspecialchars($_REQUEST['song']);
-$sid = htmlspecialchars($_REQUEST['sid']);
+/* These parameters had better come in on the url. */
+$uid = scrub_out($_REQUEST['uid']);
+$song_id = scrub_out($_REQUEST['song']);
+$sid = scrub_out($_REQUEST['sid']);
/* Misc Housework */
$dbh = dbh();
diff --git a/play/pupload.php b/play/pupload.php
index e7de7a6c..df3a87a0 100644
--- a/play/pupload.php
+++ b/play/pupload.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2005 Ampache.org
+ Copyright (c) 2001 - 2006 Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or