44a572559459e6a2b88776be91859b98565b5a70 galt Thu Oct 4 17:40:42 2012 -0700 hopefully this is a bit more efficient diff --git src/hg/lib/web.c src/hg/lib/web.c index 75c5ca5..95cb434 100644 --- src/hg/lib/web.c +++ src/hg/lib/web.c @@ -1363,44 +1363,50 @@ dyStringAppend(dy, "?"); dyStringAppend(dy, uiVars); if(match[1].rm_so != match[1].rm_eo) dyStringAppend(dy, "&"); } if(offset < len) dyStringAppend(dy, menuStr + offset); freez(&menuStr); menuStr = dyStringCannibalize(&dy); if(!loginSystemEnabled()) stripRegEx(menuStr, "<\\!-- LOGIN_START -->.*<\\!-- LOGIN_END -->", REG_ICASE); if(scriptName) { // Provide view menu for some CGIs. - struct dyString *viewMenu = dyStringCreate("