Skip to content

Conversation

@dianaboiangiu
Copy link
Contributor

No description provided.

@@ -0,0 +1,6 @@
def set_iframe(request):
if 'HTTP_REFERER' in request.META:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably a bad idea, referrer is not only sent for iframes, but also when clicking on a normal link to the other website

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to implement an explicit request parameter, "&headless=true" instead

Copy link
Member

@melish melish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment about meta referrer and url parameter headless=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants