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/ameme/ameme.c src/ameme/ameme.c
index ad9626a..0a1f682 100644
--- src/ameme/ameme.c
+++ src/ameme/ameme.c
@@ -3223,30 +3223,30 @@
     htmlOut = stdout;
 
 initRandom(); /* This one needs to be after htmlOut set up. */
 
 /* Figure out if we're going to find a pattern in sequences, or just display
  * where a pre-computed pattern occurs in sequences. */
 isMotifMatcher = cgiVarExists("motifMatcher");
 if (isMotifMatcher)
     programName = "Motif Matcher";
 else
     programName = "Improbizer";
 
 /* Print out html header.  Make background color brilliant white. */
 if (isFromWeb)
     puts("Content-Type:text/html\n");
-fprintf(htmlOut, "<HEAD>\n<TITLE>%s Results</TITLE>\n</HEAD>\n\n", programName);
+fprintf(htmlOut, "<HEAD>\n%s<TITLE>%s Results</TITLE>\n</HEAD>\n\n", getCspMetaHeader(), programName);
 fprintf(htmlOut, "<BODY BGCOLOR='#FFFFFF'>\n\n");
 
 /* Wrap error handling et. around doMiddle. */
 if (isFromWeb)
     htmEmptyShell(doMiddle, NULL);
 else
    doMiddle();
 
 //carefulCheckHeap();
 
 /* Write end of html. */
 htmEnd(htmlOut);
 return 0;
 }