25eac8765c2e8a7300a791d0fe33e91c33e3c31f
galt
  Wed Sep 20 17:11:37 2023 -0700
hgTables - Making links work better to support http or https. refs #32257

diff --git src/hg/hgTables/mainPage.c src/hg/hgTables/mainPage.c
index 817972e..12e1a4e 100644
--- src/hg/hgTables/mainPage.c
+++ src/hg/hgTables/mainPage.c
@@ -1056,33 +1056,33 @@
   "see <A HREF=\"#Help\">Using the Table Browser</A> (below). "
   "General information and sample queries are available from the "
   "<A HREF=\"../goldenPath/help/hgTablesHelp.html\">Table Browser User's Guide</A>. "
   "For more complex queries, we recommend "
   "<A HREF=\""GALAXY_URL_BASE"\" target=_BLANK>Galaxy</A> or "
   "our <A HREF=\"../goldenPath/help/mysql.html\">public "
   "MySQL server</A>. "
   "To examine the biological function of your set through annotation "
   "enrichments, send the data to "
   "<A HREF=\"http://great.stanford.edu\" target=_BLANK>GREAT</A>. "
   "%s"
   "Refer to the "
   "<A HREF=\"../goldenPath/credits.html\">Credits</A> page for the list of "
   "contributors and usage restrictions associated with these data. "
   "Bulk download of track data is available from the "
-  "<A HREF=\"http://hgdownload.soe.ucsc.edu/downloads.html\""
+  "<A HREF=\"http%s://hgdownload.soe.ucsc.edu/downloads.html\""
   ">Sequence and Annotation Downloads</A> page.</span>"
-   , getGenomeSpaceText()
+   , getGenomeSpaceText(), cgiAppendSForHttps()
 );
 hPrintf(" <span id='tbHelpLess' class='blueLink' style='display:none'>Less...</span>");
 
 // Show more or less intro text
 char jsText[1024];
 safef(jsText, sizeof jsText,
         "$('#tbHelpMore').hide();"
         "$('#tbHelp').show();"
         "$('#tbHelpLess').show();"
         );
 jsOnEventById("click", "tbHelpMore", jsText);
 safef(jsText, sizeof jsText,
         "$('#tbHelpMore').show();"
         "$('#tbHelp').hide();"
         "$('#tbHelpLess').hide();"