Re: cvs: pearweb /public_html pkginfo.php
| From: | Stig S. Bakken | Date: | Sun, 27 Jan 2002 19:28:30 +0000 |
| Subject: | Re: cvs: pearweb /public_html pkginfo.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-2186@lists.php.net to get a copy of this message | ||
On Sat, 2002-01-26 at 20:35, Sterling Hughes wrote:
> 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'];
What!? Is something running with magic quotes on? I detest addslashes
and stripslashes, I just won't have them anywhere. :-)
- Stig