Merge pull request #417 from ZeusWPI/security.txt
Add responsible disclosure policy
This commit is contained in:
commit
f8a286da25
3 changed files with 12 additions and 1 deletions
4
Rules
4
Rules
|
@ -235,6 +235,10 @@ route '/**/*.{erb,html,md}' do
|
||||||
"#{item.identifier.without_ext}/index.html"
|
"#{item.identifier.without_ext}/index.html"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
route %r[/well-known/(.+)] do |rest|
|
||||||
|
"/.well-known/" + rest[0]
|
||||||
|
end
|
||||||
|
|
||||||
# Let anything else simply pass through
|
# Let anything else simply pass through
|
||||||
passthrough '/**/*'
|
passthrough '/**/*'
|
||||||
|
|
||||||
|
|
3
content/well-known/security.txt
Normal file
3
content/well-known/security.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Contact: mailto:admin@zeus.ugent.be
|
||||||
|
Preferred-Languages: nl,en
|
||||||
|
Policy: https://git.zeus.gent/bestuur/drive/-/blob/master/varia/responsible_disclosure_policy_nl.md
|
|
@ -39,7 +39,11 @@
|
||||||
<a href="/about/privacy">
|
<a href="/about/privacy">
|
||||||
<span class="hidden-xs">Privacy</span>
|
<span class="hidden-xs">Privacy</span>
|
||||||
<%= fa :'user-secret' %>
|
<%= fa :'user-secret' %>
|
||||||
</a>
|
</a> |
|
||||||
|
<a href="/.well-known/security.txt">
|
||||||
|
<span class="hidden-xs">Responsible Disclosure Policy</span>
|
||||||
|
<%= fa :'lock' %>
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue