diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-09 07:02:49 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-09 07:02:49 +0000 |
commit | 53e05bc90da0864e19eabdea083d32080dbaa283 (patch) | |
tree | da54b0c181e9cb820ff98e5f8b6c974d568e504f /play/index.php | |
parent | 6906bb43c6635ece5150c9abffe8e9bb16a03f6c (diff) | |
download | ampache-53e05bc90da0864e19eabdea083d32080dbaa283.tar.gz ampache-53e05bc90da0864e19eabdea083d32080dbaa283.tar.bz2 ampache-53e05bc90da0864e19eabdea083d32080dbaa283.zip |
final commit before beta1 release
Diffstat (limited to 'play/index.php')
-rw-r--r-- | play/index.php | 10 |
1 files changed, 5 insertions, 5 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(); |