Subject: max URL length in http-gw.c

From: Tor Perkins <[email-masked]>
Date: Thu, 31 May 2001 22:53:02 -0700

[To be removed from this list send the message "unsubscribe fwtk-users" in the
BODY of a mail message to [email-masked].]

In http-gw.h there is:

  #define PATH_MAX 1024

PATH_MAX, however, never appears anywhere else in the source code
('doh!).

Instead there are things like this in http-gw.c:

  static char newurl[1200]; /* field for rewriting */

and later:

  cpystr(value,newurl,1022);

Well, mapquest.com can generate an URL > 1022 chars... :P
Probably other sites do as well.

Since this seems a bit messy, I was curious; has anyone already
created a patch for this?

- Tor