equal
deleted
inserted
replaced
108 |
108 |
109 hgweb_mod w/o hgwebdir works as expected |
109 hgweb_mod w/o hgwebdir works as expected |
110 |
110 |
111 $ killdaemons.py |
111 $ killdaemons.py |
112 |
112 |
113 $ hg -R repo1 serve -p $HGPORT -d --pid-file=hg.pid --config "web.csp=image-src 'self'; script-src https://example.com/ 'nonce-%nonce%'" |
113 $ hg serve -R repo1 -p $HGPORT -d --pid-file=hg.pid --config "web.csp=image-src 'self'; script-src https://example.com/ 'nonce-%nonce%'" |
114 $ cat hg.pid > $DAEMON_PIDS |
114 $ cat hg.pid > $DAEMON_PIDS |
115 |
115 |
116 static page sends CSP |
116 static page sends CSP |
117 |
117 |
118 $ get-with-headers.py --headeronly localhost:$HGPORT static/mercurial.js content-security-policy etag |
118 $ get-with-headers.py --headeronly localhost:$HGPORT static/mercurial.js content-security-policy etag |