[dokuwiki] Re: Parameters in links revisited

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 16 Dec 2010 19:27:12 +0100

> If the same parameter is also
> passed in $_POST and in $_COOKIE, using $_REQUEST is going to do
> majestically wrong things.

Again, for clarity: there is no $_COOKIE in DokuWiki's $_REQUEST - we
take care of that. If you want to accept a parameter both ways (and
often you want that), it's fine to use $_REQUEST.

More general speaking, Mike is right of course. Be careful about what
parameters you accept.

Andi

-- 
splitbrain.org
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: