Skip to content

Commit

Permalink
Surcharger le referrer par défaut de Django (#1132)
Browse files Browse the repository at this point in the history
set referrer policy at the django level
  • Loading branch information
fabienheureux authored Dec 11, 2024
1 parent 4c2049d commit 76fc848
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,3 +371,5 @@ def context_processors():
)

QFDMO_GOOGLE_SEARCH_CONSOLE = "google9dfbbc61adbe3888.html"

SECURE_REFERRER_POLICY = "strict-origin-when-cross-origin"

0 comments on commit 76fc848

Please sign in to comment.