From 650487293fac7155671ebe098fc3eb56b5908a7a Mon Sep 17 00:00:00 2001 From: Goulin Khoge <36013798+goulinkh@users.noreply.github.com> Date: Mon, 14 Oct 2024 20:42:36 +0200 Subject: [PATCH] add custom proxy header --- webapp/canonical_cla/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/canonical_cla/views.py b/webapp/canonical_cla/views.py index e05ec656e9..29c112e848 100644 --- a/webapp/canonical_cla/views.py +++ b/webapp/canonical_cla/views.py @@ -127,7 +127,7 @@ def canonical_cla_api_proxy(): url=urlparse.urljoin(CANONICAL_CLA_API_URL, request_url), headers={ "X-Forwarded-For": flask.request.remote_addr, - "X-Original-Forwarded-For": flask.request.remote_addr, + "x-custom-forwarded-for": flask.request.remote_addr, }, cookies=flask.request.cookies, data=flask.request.data,