[xiph-commits] r7472 - websites/icecast.org
oddsock at motherfish-iii.xiph.org
oddsock
Thu Aug 5 19:10:14 PDT 2004
Author: oddsock
Date: Thu Aug 5 19:10:14 2004
New Revision: 7472
Modified:
websites/icecast.org/streamlist.php.orig
Log:
add some html trapping
Modified: websites/icecast.org/streamlist.php.orig
===================================================================
--- websites/icecast.org/streamlist.php.orig 2004-08-03 18:59:13 UTC (rev 7471)
+++ websites/icecast.org/streamlist.php.orig 2004-08-03 21:44:22 UTC (rev 7472)
@@ -234,7 +234,7 @@
}
}
$id = $row[0];
- $server_name = $row[1];
+ $server_name = htmlentities($row[1]);
$listeners = $row[2];
$cluster_flag = 0;
if ($cluster_id != "") {
@@ -265,10 +265,10 @@
}
while ($row2 = mysql_fetch_row($result2)) {
- $description = $row2[0];
- $genre = $row2[1];
+ $description = htmlentities($row2[0]);
+ $genre = htmlentities($row2[1]);
$url = $row2[2];
- $current_song = $row2[3];
+ $current_song = htmlentities($row2[3]);
$listen_url = urlencode($row2[4]);
$listen_url_raw = $row2[4];
$server_type = $row2[5];
More information about the commits
mailing list