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