Skip to content
Snippets Groups Projects
Unverified Commit 1ecc9866 authored by David Beniamine's avatar David Beniamine
Browse files

Add content security policy

parent 30105143
Branches
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@
CustomLog /var/log/apache2/passchecker_access.log combined
ErrorLog /var/log/apache2/passchecker_error.log
ErrorLog syslog:local2
Header set Content-Security-Policy "default-src 'self';"
RewriteEngine On
RewriteRule ^/$ /cgi-bin/index.py [L,R=301]
......
......@@ -35,7 +35,7 @@ html = """<!DOCTYPE html>
<div id="box">
<div id="content">
<div id="logos">
<img style="float:left" src="/web/img/tl.png" alt="Tetras Libre" />
<img class="left" src="/web/img/tl.png" alt="Tetras Libre" />
<h1>
Pass Checker
</h1>
......
......@@ -76,6 +76,9 @@ img.right{
margin : auto auto 5% 5%;
padding : 0.1em;
}
img.left{
float: left;
}
/*Comportement des liens*/
a
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment