Skip to content
Snippets Groups Projects
Commit 496cf84a authored by Nico Vermaas's avatar Nico Vermaas
Browse files

attempt to solve the http-bug in next/previous links of the REST API

parent 2006163f
No related branches found
No related tags found
No related merge requests found
Pipeline #42469 passed
...@@ -13,6 +13,7 @@ ALLOWED_HOSTS = ["*"] ...@@ -13,6 +13,7 @@ ALLOWED_HOSTS = ["*"]
# True: Enables a header that tells the UA to switch on the XSS filter. # True: Enables a header that tells the UA to switch on the XSS filter.
# http://django-secure.readthedocs.io/en/latest/middleware.html#x-xss-protection-1-mode-block # http://django-secure.readthedocs.io/en/latest/middleware.html#x-xss-protection-1-mode-block
SECURE_BROWSER_XSS_FILTER = True SECURE_BROWSER_XSS_FILTER = True
USE_X_FORWARDED_HOST = True
# Prevents the site from being deployed within a iframe. # Prevents the site from being deployed within a iframe.
# This prevent click-jacking attacks. # This prevent click-jacking attacks.
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
{% include 'taskdatabase/pagination.html' %} {% include 'taskdatabase/pagination.html' %}
</div> </div>
</div> </div>
<p class="footer"> Version 13 Januari 2022 - 11:00 <p class="footer"> Version 16 Januari 2022 - 12:00
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment