389da7069662a418d17f77728ad454c6bc34955b
galt
  Fri Sep 15 17:55:58 2023 -0700
Revert "Fixing hgTables for redirect-to-https. Galaxy will now work correctly since we give it our URL in a vaiable of that name, now updated in galaxy.c and mainPage.c. Fixed a few minor URLs to documentation too."

This reverts commit cb8c0b5aec5b78aa6693d1df261752fd3f1a6ca5.

diff --git src/hg/hgTables/great.c src/hg/hgTables/great.c
index 3c8e1fc..e62c5ca 100644
--- src/hg/hgTables/great.c
+++ src/hg/hgTables/great.c
@@ -156,31 +156,31 @@
 hPrintf("<FORM ACTION=\"%s\" METHOD=GET>\n", cgiScriptName());
 cgiMakeButton(hgtaDoMainPage, "Cancel");
 hPrintf("</FORM>\n");
 }
 
 boolean doGreat()
 /* has the send to GREAT checkbox been selected? */
 {
 return cartUsualBoolean(cart, "sendToGreat", FALSE);
 }
 
 void doSubmitToGreat(const char *path)
 /* Send a URL to GREAT that it can use to retrieve the results. */
 {
 struct dyString *requestName = getRequestName();
-struct dyString *requestURL = dyStringCreate("https://%s/%s", cgiServerNamePort(), path);
+struct dyString *requestURL = dyStringCreate("http://%s/%s", cgiServerNamePort(), path);
 struct dyString *greatRequest;
 
 // archive server for hg18
 if (sameWord("hg18", database))
   greatRequest = dyStringCreate(
     "<meta http-equiv='refresh' content='0;url=http://bejerano.stanford.edu/great/public-2.0.2/cgi-bin/greatStart.php?requestURL=%s&requestSpecies=%s&requestName=%s&requestSender=UCSC%%20Table%%20Browser'>",
     dyStringContents(requestURL), database, dyStringContents(requestName));
 else
   greatRequest = dyStringCreate(
     "<meta http-equiv='refresh' content='0;url=http://great.stanford.edu/public/cgi-bin/greatStart.php?requestURL=%s&requestSpecies=%s&requestName=%s&requestSender=UCSC%%20Table%%20Browser'>",
     dyStringContents(requestURL), database, dyStringContents(requestName));
 
 hPrintf("<b>GREAT</b> is processing BED data from \"%s\"...please wait.\n", dyStringContents(requestName));
 hWrites(dyStringContents(greatRequest));
 dyStringFree(&greatRequest);