Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace REMOTE_ADDR with ansible_base.lib.utils.requests.get_remote_host #15175

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

dmzoneill
Copy link
Member

SUMMARY

Replace request.META.get('REMOTE_ADDR') with django-ansible-base get_remote_host

for environments with proxies and other intermediates where callbacks are broken because the remote_addr is the proxy.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API
AWX VERSION

all

@dmzoneill dmzoneill force-pushed the ansible_base.lib.utils.requests.get_remote_host branch from 7bce7b2 to c6861b7 Compare May 9, 2024 13:00
@gundalow gundalow merged commit 8827ae7 into devel Jun 6, 2024
21 checks passed
@gundalow gundalow deleted the ansible_base.lib.utils.requests.get_remote_host branch June 6, 2024 13:47
djyasin pushed a commit to djyasin/awx that referenced this pull request Sep 16, 2024
djyasin pushed a commit to djyasin/awx that referenced this pull request Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants