Mail Index
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ApacheGallery] Cookie patch
On Tue, Sep 09, 2003 at 04:13:26PM -0500, Christopher Knight wrote:
>
> installed
> http://svn.apachegallery.dk/snapshots/Apache-Gallery-r203.tar.gz
> and 'new' templates
Hummm, shouldn't we do:
- } elsif ($cookies{'GallerySize'}) {
+ } elsif ($cookies{'GallerySize'} and (grep $cookies{'GallerySize'}->value == $_, @sizes)) {
In stead to ensure that users can't select an unallowed size?
The above code is untested (but compiles)
--
Andreas Plesner Jacobsen | Don't go to bed with no price on your head.
| -- Baretta
_______________________________________________
users mailing list
users@xxxxxxxxxxxxxxxx
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers