aboutsummaryrefslogtreecommitdiff
path: root/e646832
diff options
context:
space:
mode:
authorKelley Spoon <kelley.spoon@linaro.org>2019-05-16 08:30:51 -0500
committerBenjamin Copeland <ben.copeland@linaro.org>2019-08-06 13:27:03 +0000
commite646832c36deb01454281f7696f00a87786b9bb3 (patch)
tree97d51fe1963e2f260e587c311464917b3527b17c /e646832
parent08def57f54cae3a27093514d14548246452c31b7 (diff)
downloadlinaro-license-protection-master.tar.gz
views.py: check X_FORWARDED_FOR if set for whitelisted IPHEADmaster
If run behind a proxy, LLP will always see a request as coming from the proxy's IP address. This change updates the IP check to use the X_FORWARDED_FOR header to check the client's IP for whitelisting internal hosts. Change-Id: I1f220301d7ac8658141407d930f255fc0d4f2e13 Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/31458 Reviewed-by: Benjamin Copeland <ben.copeland@linaro.org>
Diffstat (limited to 'e646832')
0 files changed, 0 insertions, 0 deletions