Explorar el Código

Merge pull request #8153 from davama/develop

Add missing HTTP_X_FORWARDED_FOR
Jeremy Stretch hace 4 años
padre
commit
063abc8ef7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      netbox/utilities/constants.py

+ 1 - 0
netbox/utilities/constants.py

@@ -57,6 +57,7 @@ HTTP_REQUEST_META_SAFE_COPY = [
     'HTTP_HOST',
     'HTTP_REFERER',
     'HTTP_USER_AGENT',
+    'HTTP_X_FORWARDED_FOR',
     'QUERY_STRING',
     'REMOTE_ADDR',
     'REMOTE_HOST',