c20579fc7c537c1736650125c5d264357d2cfa78
angie
Mon Sep 18 13:15:16 2017 -0700
Big search & replace: use https instead of http for NCBI URLs. refs #17793
diff --git src/hg/hgGene/mrnaDescriptions.c src/hg/hgGene/mrnaDescriptions.c
index b92479c..ccf9590 100644
--- src/hg/hgGene/mrnaDescriptions.c
+++ src/hg/hgGene/mrnaDescriptions.c
@@ -64,31 +64,31 @@
{
struct psl *psl, *pslList = section->items;
for (psl = pslList; psl != NULL; psl = psl->next)
{
if (basesShared(curGenePred, psl) > 12) /* Filter out possible little noisy flecks. */
{
char query[512];
char *description;
sqlSafef(query, sizeof(query),
"select d.name from %s g,%s d"
" where g.acc='%s' and g.description = d.id"
, gbCdnaInfoTable, descriptionTable, psl->qName);
description = sqlQuickString(conn, query);
if (description != NULL)
{
- char *url = "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi"
+ char *url = "https://www.ncbi.nlm.nih.gov/entrez/query.fcgi"
"?cmd=Search&db=Nucleotide&term=%s&doptcmdl=GenBank"
"&tool=genome.ucsc.edu";
hPrintf("qName);
hPrintf("\" TARGET=_blank>");
hPrintf("%s - ", psl->qName);
hPrintf("%s
", description);
}
freeMem(description);
}
}
}
struct section *mrnaDescriptionsSection(struct sqlConnection *conn,
struct hash *sectionRa)