038c31ecb2bd9e59311bb3009646ddc5374fa9d6 galt Fri Jul 13 23:06:35 2018 -0700 hgc functions using framesets and a few other odd places that make their own html head were tweaked to include the CSP header. Thisis also helpful with early errors. refs #21729 diff --git src/hg/hgc/lowelab.c src/hg/hgc/lowelab.c index b51326a..90f6443 100644 --- src/hg/hgc/lowelab.c +++ src/hg/hgc/lowelab.c @@ -3239,31 +3239,31 @@ printf("</tbody>\n"); printf("</table>\n"); printf("</td></tr></tbody>\n"); printf("</table>\n"); bedFree(&primer); hFreeConn(&conn); printTrackHtml(tdb); } void doWiki(char *track, struct trackDb *tdb, char *itemName) { char strand[2]; - printf("<HEAD>"); + printf("<HEAD>%s", getCspMetaHeader()); if(startsWith("Make", itemName)) { strand[0] = itemName[strlen(itemName)-1]; strand[1] = 0; printf("<META HTTP-EQUIV=\"REFRESH\" content=\"0; URL=http://lowelabwiki.cse.ucsc.edu/index.php/BED:%s:%s:%d-%d:%s\"</META>", database, seqName, winStart, winEnd, strand); } else { printf("<META HTTP-EQUIV=\"REFRESH\" content=\"0; URL=http://lowelabwiki.cse.ucsc.edu/index.php/BED:%s:%s:%s\"</META>", database, seqName, itemName); } printf("</HEAD>"); }