08e682f0e3d407cea4f6e2a6eccad70c77426e67
jcasper
  Tue Sep 15 17:10:48 2015 -0700
Fixed hgsid issue in hgGateway, refs #16031

diff --git src/hg/lib/hgFind.c src/hg/lib/hgFind.c
index e854682..f1e8434 100644
--- src/hg/lib/hgFind.c
+++ src/hg/lib/hgFind.c
@@ -3299,31 +3299,31 @@
 }
 
 
 void hgPositionsHelpHtml(char *organism, char *database)
 /* Display contents of dbDb.htmlPath for database, or print an HTML comment 
  * explaining what's missing. */
 {
 char *htmlPath = hHtmlPath(database);
 char *htmlString = NULL;
 size_t htmlStrLength = 0;
 
 if (strstrNoCase(organism, "zoo")) 
     webNewSection("About the NISC Comparative Sequencing Program Browser");
 else
     webNewSection("%s Genome Browser – %s assembly"
-		  "  <A HREF=\"%s?%s=%d&chromInfoPage=\">(sequences)</A>",
+		  "  <A HREF=\"%s?%s=%s&chromInfoPage=\">(sequences)</A>",
 		  trackHubSkipHubName(organism), 
 		  trackHubSkipHubName(database),
 		  hgTracksName(), cartSessionVarName(), cartSessionId(cart));
 
 if (htmlPath != NULL) 
     {
     if (fileExists(htmlPath))
 	readInGulp(htmlPath, &htmlString, &htmlStrLength);
     else if (   startsWith("http://" , htmlPath) ||
 		startsWith("https://", htmlPath) ||
 		startsWith("ftp://"  , htmlPath))
 	{
 	struct lineFile *lf = udcWrapShortLineFile(htmlPath, NULL, 256*1024);
 	htmlString =  lineFileReadAll(lf);
 	htmlStrLength = strlen(htmlString);