cvs: pearweb /public_html pkginfo.php
| From: | Sterling Hughes | Date: | Sat, 26 Jan 2002 19:35:44 +0000 |
| Subject: | cvs: pearweb /public_html pkginfo.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2158@lists.php.net to get a copy of this message | ||
sterling Sat Jan 26 14:35:44 2002 EDT
Modified files:
/pearweb/public_html pkginfo.php
Log:
Stripslashes for both the description and the summary before displaying
Index: pearweb/public_html/pkginfo.php
diff -u pearweb/public_html/pkginfo.php:1.16 pearweb/public_html/pkginfo.php:1.17
--- pearweb/public_html/pkginfo.php:1.16 Sat Jan 26 12:24:31 2002
+++ pearweb/public_html/pkginfo.php Sat Jan 26 14:35:44 2002
@@ -22,9 +22,9 @@
die ('No package selected (db)');
}
$name = $row['name'];
-$summary = $row['summary'];
+$summary = stripslashes($row['summary']);
$license = $row['license'];
-$description = $row['description'];
+$description = stripslashes($row['description']);
$category = $row['category'];
// Accounts data