Re: cvs: pearweb /public_html pkginfo.php
| From: | Tomas V.V.Cox | Date: | Sun, 27 Jan 2002 19:35:52 +0000 |
| Subject: | Re: cvs: pearweb /public_html pkginfo.php | ||
| References: | 1 2 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-2188@lists.php.net to get a copy of this message | ||
"Stig S. Bakken" wrote:
>
> 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. :-)
>
We have been waiting a long time for you to set magic quotes to off in
both the site and the apache-setup doc :-)
Tomas V.V.Cox