Branch: Tag:

2004-10-15

2004-10-15 09:00:16 by Jonas Wallden <jonasw@roxen.com>

Removed an old (from revision 1.1!) undocumented limitation on POSTed form
variables where the data must be less than 200000 bytes. Fixes [bug 3808 (#3808)].

Rev: server/protocols/http.pike:1.464

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2004, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.463 2004/08/18 17:08:18 mast Exp $"; + constant cvs_version = "$Id: http.pike,v 1.464 2004/10/15 09:00:16 jonasw Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
813:    data = String.trim_all_whites( data );    l = misc->len = strlen(data);    -  if(l < 200000) +     foreach(replace(data,"+"," ")/"&", v)    if(sscanf(v, "%s=%s", a, b) == 2)    {