I
I
Ivan Akimov2022-04-19 17:27:47
Django
Ivan Akimov, 2022-04-19 17:27:47

How to properly configure Django to send HTML REFERER to an external site?

There is a website.
I insert an external script into the code that requests information from an external resource and displays it on our website using JQuery (third-party developer).
When I run the request, I get the error:

Ваш браузер не настроен для передачи HTTP REFERER. Все браузеры по умолчанию настроены на передачу данного параметра, для решения проблемы сбросьте настройки браузера на настройки по умолчанию или вручную включите передачу HTTP REFERER.

Ps With the browser, everything is fine, checked. Because in Bitrix the same script works fine.

What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Dzhur, 2022-04-22
@Kveli

Looks like you've come across a browser security policy.
If I remember correctly, we added a line like this to the site:
<meta name="referrer" content="always">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question