javascript - "style-src 'self' https://maxcdn.bootstrapcdn.com/bootstrap/". Either the 'unsafe-inline' keyword, a hash -


i have webpage hosted on jenkins server.

i saw in latest jenkins update there

so have read fantastic post on how bypass restriction

i have added <meta> page

but keep on getting console errors:

refused apply inline style because violates following content security policy directive: "style-src 'self' https://maxcdn.bootstrapcdn.com/bootstrap/". either 'unsafe-inline' keyword, hash ('sha256-47deqpj8hbsa+/timw+5jceuqerkm5nmpjwzg3hsufu='), or nonce ('nonce-...') required enable inline execution.

    <head> <title>bidi: unknown bl version vs. 1.0.487</title> <meta content="text/html; charset=utf-8 ;" http-equiv="content-type"> <meta content="style-src 'self' https://maxcdn.bootstrapcdn.com/bootstrap/" http-equiv="content-security-policy"><meta content="script-src 'self' https://maxcdn.bootstrapcdn.com/bootstrap/" http-equiv="content-security-policy"><meta content="default-src 'self' https://maxcdn.bootstrapcdn.com/bootstrap/" http-equiv="content-security-policy"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css"><script type="script" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script><link rel="icon" href="/jenkins/view/qa/job/routingregression/ws/src/main/resources/html_pages/images/favicon.png" type="image/gif" sizes="16x16"><link rel="stylesheet" href="/routingregression/html_pages/css/delta_samples.css"> </head> 

enter image description here

i think should read fantastic post relaxed jenkins config using

system.setproperty("hudson.model.directorybrowsersupport.csp", "")


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -