We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7421e0f commit 84f2870Copy full SHA for 84f2870
changedetectionio/__init__.py
@@ -160,11 +160,10 @@ def inject_version():
160
)
161
162
# Monitored websites will not receive a Referer header when a user clicks on an outgoing link.
163
- # @Note: Incompatible with password login (and maybe other features) for now, submit a PR!
164
@app.after_request
165
def hide_referrer(response):
166
if strtobool(os.getenv("HIDE_REFERER", 'false')):
167
- response.headers["Referrer-Policy"] = "no-referrer"
+ response.headers["Referrer-Policy"] = "same-origin"
168
169
return response
170
0 commit comments