Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pass Checker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tetras-libre
Pass Checker
Commits
1ecc9866
Unverified
Commit
1ecc9866
authored
8 years ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Add content security policy
parent
30105143
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
apache2/passchecker.conf
+1
-0
1 addition, 0 deletions
apache2/passchecker.conf
passchecker/cgi-bin/index.py
+1
-1
1 addition, 1 deletion
passchecker/cgi-bin/index.py
passchecker/web/css/style.css
+3
-0
3 additions, 0 deletions
passchecker/web/css/style.css
with
5 additions
and
1 deletion
apache2/passchecker.conf
+
1
−
0
View file @
1ecc9866
...
...
@@ -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
]
...
...
This diff is collapsed.
Click to expand it.
passchecker/cgi-bin/index.py
+
1
−
1
View file @
1ecc9866
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
passchecker/web/css/style.css
+
3
−
0
View file @
1ecc9866
...
...
@@ -76,6 +76,9 @@ img.right{
margin
:
auto
auto
5%
5%
;
padding
:
0.1em
;
}
img
.left
{
float
:
left
;
}
/*Comportement des liens*/
a
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment