--- ntop/globals-defines.h	2004-03-21 08:38:51.000000000 -0600
+++ ntop/globals-defines.h	2004-06-18 21:45:18.000000000 -0500
@@ -901,7 +901,7 @@
  * This is used in URL security to put an upper limit on the URL we're willing to
  * deal with - it's then used in http.c as the size of a couple of static work buffers.
  */
-#define MAX_LEN_URL                         512
+#define MAX_LEN_URL                         2048
 
 /*
  * Number of tcp flags we'll store for an IP Session
--- ntop/http.c	2004-03-16 01:39:14.000000000 -0600
+++ ntop/http.c	2004-06-23 17:01:02.000000000 -0500
@@ -192,7 +192,7 @@
   SSL* ssl = getSSLsocket(-myGlobals.newSock);
 #endif
   char aChar[8] /* just in case */, lastChar;
-  char preLastChar, lineStr[768];
+  char preLastChar, lineStr[MAX_LEN_URL+256];
   int rc, idxChar=0, contentLen=-1, numLine=0, topSock;
   fd_set mask;
   struct timeval wait_time;
