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/hgCert/hgCert.c src/hg/hgCert/hgCert.c
index a6e42aa..184d720 100644
--- src/hg/hgCert/hgCert.c
+++ src/hg/hgCert/hgCert.c
@@ -1,21 +1,22 @@
 /* hgCert - hgCert parses cerfification data file and generates an html file and a .tab file */
 
 /* Copyright (C) 2011 The Regents of the University of California 
  * See README in this or parent directory for licensing information. */
 #include "common.h"
 #include "hCommon.h"
+#include "htmshell.h"
 
 void usage()
 /* Explain usage and exit. */
 {
 errAbort(
   "hgCert - hgCert parses cerfification data file and generates an html file and a .tab file\n"
   "usage: hgCert certificate.txt >certificate.html\n");
 }
 
 char *doLine(char *lineType, char *lineIn)
     {
     char *result;
     char line[1000];
 
     strcpy(line, lineIn);
@@ -75,31 +76,31 @@
  *comment,
  *evaluation,
  *remark;
 char lineType[100];
 
 //int i,j;
 
 if (argc != 2)
     {
     usage();
     }
 else
     {
     infileName = argv[1];
 
-    fprintf(stdout, "<HTML><HEAD><TITLE>Non-standard Join Certificates</TITLE>\n");
+    fprintf(stdout, "<HTML><HEAD>\n%s<TITLE>Non-standard Join Certificates</TITLE>\n", getCspMetaHeader());
     fprintf(stdout, "<META http-equiv=Content-Type content=\"text/html; charset=iso-8859-1\">\n");
     fprintf(stdout, "<META content=\"MSHTML 6.00.2800.1106\" name=GENERATOR></HEAD>\n");
     fprintf(stdout, "<BODY><span style='font-family:Arial;'>\n");
 
     fprintf(stdout, "<TABLE cellspacing=3 cols=9 border cellPadding=2\n");
 
     fprintf(stdout, "  <TR BGCOLOR='#FFFEE8'><TH>Accession 1</TH>\n");
     fprintf(stdout, "  <TH>Accession 2</TH>\n");
     fprintf(stdout, "  <TH>Spanner</TH>\n");
     fprintf(stdout, "  <TH>Variation</TH>\n");
     fprintf(stdout, "  <TH>Variation Evidence</TH>\n");
     fprintf(stdout, "  <TH>Comment</TH>\n");
     fprintf(stdout, "  <TH>Evaluation</TH>\n");
     fprintf(stdout, "  <TH>Remark</TH>\n");
     fprintf(stdout, "  <TH>Contact</TH>\n");