fdd4eaea8cdd5dd4e2d895ae3249957859eb278b
max
  Tue Oct 14 03:12:17 2025 -0700
change after code review, refs #36477

diff --git src/hg/lib/cart.c src/hg/lib/cart.c
index 34db3cad8a6..14cd37aee1b 100644
--- src/hg/lib/cart.c
+++ src/hg/lib/cart.c
@@ -2708,30 +2708,31 @@
     exit(0);
     }
 char *hgsid = getSessionId();
 struct cart *cart = cartNew(hguid, hgsid, exclude, oldVars);
 cartExclude(cart, sessionVar);
 
 char *timeStr;
 if ( (timeStr = cgiOptionalString("_dumpCart")) != NULL)
     {
     dumpCartWithTime(cart, timeStr);
     exit(0);
     }
 
 // activate optional debuging output for CGIs
 verboseCgi(cgiUsualString("verbose", NULL));
+cartExclude(cart, "verbose");
 
 return cart;
 }
 
 static void addHttpHeaders()
 /* CGIs can initialize the global variable httpHeaders to control their own HTTP
  * headers. This allows, for example, to prevent web browser caching of hgTracks
  * responses, but implicitly allow web browser caching everywhere else */
 {
 struct slPair *h;
 for (h = httpHeaders; h != NULL; h = h->next)
     {
     printf("%s: %s\n", h->name, (char *)h->val);
     }
 }