[fpc-pascal]CGI: cgiapp.pp and ezcgi.pp possible bug

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Sun Sep 14 19:23:06 CEST 2003


On Mon, 15 Sep 2003, James Mills wrote:

> On Sun, Sep 14, 2003 at 05:36:25PM +0200, Michael.VanCanneyt at Wisa.be wrote:
> >
> >
> > On Mon, 15 Sep 2003, James Mills wrote:
> >
> > > On Sun, Sep 14, 2003 at 06:48:36AM -0700, Alan Mead wrote:
> > > > --- James Mills <prologic at daisy.ods.org> wrote:
> > > > >
> > > > > It hands when you POST data with two angled bracked, eg: "> >"
> > > > > I have not tried using GET, I don't think it would be appropiate
> > > > > for a
> > > > > form based page :)
> > > >
> > > > Form data can be POST'd or GET'd depending on the way you form the
> > > > 'form' tag.  You're right that POST is generally used but sometimes
> > > > the form data are brief and it's advantageous to allow the user to
> > > > bookmark the state of the CGI, in which case you should use GET.
> > > > Google and Yahoo searches are a good example.
> > > >
> > > > In this case, where you suspect a bug in processing of the data, it
> > > > might be helpful to know whether it affects both cases.  Have you
> > > > solved the issue or do you have a small example program?
> > >
> > > This bug is preventing me from completing a clone of my profressors
> > > forum :P I will (when I find the time) try and implement an example to
> > > show you.
> >
> > I changed the form method to POST and retried, but it still works here.
> > Are you sure the bug is not in your code ?
> Positive :) It's based on an example in the FCL.
> Would you like to take a look at it ? I'll gladly mail you the source,
> it uses sqlite for it's embedded database.

You can.

Michael.





More information about the fpc-pascal mailing list