b04a39a028980ea32b2ac62950bdff0a67de16d0
galt
Wed Jul 18 14:48:19 2018 -0700
Add missing CSP header to pages not handled automatically by library functions. refs #21729.
diff --git src/hg/hgGenome/browseRegions.c src/hg/hgGenome/browseRegions.c
index ae8edc4..f5984d5 100644
--- src/hg/hgGenome/browseRegions.c
+++ src/hg/hgGenome/browseRegions.c
@@ -47,26 +47,26 @@
fprintf(f, "%d regions > %g
\n",
slCount(bedList), threshold);
for (bed = bedList; bed != NULL; bed = bed->next)
{
fprintf(f, "", browserFrame);
fprintf(f, "%s %3.1fM to %3.1fM
",
bed->chrom, 0.000001*bed->chromStart, 0.000001*bed->chromEnd);
}
fprintf(f, "
\n"); carefulClose(&f); /* Write frames */ hPrintf("\n"); -hPrintf("
\n", - gg->shortLabel, threshold); +hPrintf("
\n%s
\n", + getCspMetaHeader(), gg->shortLabel, threshold); hPrintf("
\n"); hPrintf("