f8b16feaacf8742673d634e6584ddd37ca5caa2a galt Thu Feb 2 14:13:51 2017 -0800 Fixing missing ajax transfer in hgTracks popup hgTrackUi js. Note this should basically pick up the equivalent of inline event handlers like onclick= stuff. diff --git src/lib/htmshell.c src/lib/htmshell.c index 6b9b3a2..1345864 100644 --- src/lib/htmshell.c +++ src/lib/htmshell.c @@ -1011,31 +1011,31 @@ dyStringAppend(policy, ";"); */ return dyStringCannibalize(&policy); } char *getCspMetaString(char *policy) /* get the policy string as an html header meta tag */ { char meta[1024]; safef(meta, sizeof meta, "\n", policy); // use double quotes around policy because it contains single-quoted values. return cloneString(meta); } char *getCspMetaResponseHeader(char *policy) -/* get the policy string as an html response header */ +/* get the policy string as an http response header */ { char response[4096]; safef(response, sizeof response, "Content-Security-Policy: %s\n", policy); return cloneString(response); } char *getCspMetaHeader() /* return meta CSP header string */ { char *policy = getCspPolicyString(); char *meta = getCspMetaString(policy); freeMem(policy); return meta; }