mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Fixed a referer leak
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
{% endcompress %}
|
||||
{{ html_head|safe }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="referrer" content="origin">
|
||||
<link rel="icon" href="{% static "pretixbase/img/favicon.ico" %}">
|
||||
</head>
|
||||
<body data-locale="{{ request.LANGUAGE_CODE }}">
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
{% load i18n %}
|
||||
{% with "href='http://pretix.eu'" as a_attr %}
|
||||
{% load safelink %}
|
||||
{% safelink "https://pretix.eu" as pretixurl %}
|
||||
{% with 'href="'|add:pretixurl|add:'"'|safe as a_attr %}
|
||||
{% blocktrans trimmed %}
|
||||
powered by <a {{ a_attr }}>pretix</a>
|
||||
{% endblocktrans %}
|
||||
|
||||
Reference in New Issue
Block a user