3ac146126c6b73e2870939c95e62e843dc09f2d3 galt Tue May 30 22:31:24 2017 -0700 Fixes problem where http header gets output twice when calling web.c::webAbort() from hgc.c. fixes #19470 diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index b602aa6..dc611cb 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -25283,31 +25283,31 @@ if (dbIsFound) seqName = hgOfficialChromName(database, cartString(cart, "c")); else seqName = cartString(cart, "c"); winStart = cartUsualInt(cart, "l", 0); winEnd = cartUsualInt(cart, "r", 0); /* Allow faked-out c=0 l=0 r=0 (e.g. for unaligned mRNAs) but not just any * old bogus position: */ if (seqName == NULL) { if (winStart != 0 || winEnd != 0) - webAbort("CGI variable error", + webAbortNoHttpHeader("CGI variable error", "hgc: bad input variables c=%s l=%d r=%d", cartString(cart, "c"), winStart, winEnd); else seqName = hDefaultChrom(database); } struct customTrack *ct = NULL; if (isCustomTrack(track)) { struct customTrack *ctList = getCtList(); for (ct = ctList; ct != NULL; ct = ct->next) if (sameString(track, ct->tdb->track)) break; }