__pkginfo__.py
author Laurent Peuch <cortex@worlddomination.be>
Wed, 08 May 2019 21:37:13 +0200
changeset 12590 a5d7fcde74c9
parent 11382 dab704a0e4b1
permissions lrwxrwxrwx
DeprecationWarning: In future versions of Waitress clear_untrusted_proxy_headers will be set to True by default. You may opt-out by setting this value to False, or opt-in explicitly by setting this to True. Source: https://docs.pylonsproject.org/projects/waitress/en/stable/arguments.html?highlight=clear_untrusted_proxy_headers > This tells Waitress to remove any untrusted proxy headers ("Forwarded", > "X-Forwared-For", "X-Forwarded-By", "X-Forwarded-Host", "X-Forwarded-Port", > "X-Forwarded-Proto") not explicitly allowed by trusted_proxy_headers. According to grep we don't use any of those headers so let's turn it on for security reasons.

cubicweb/__pkginfo__.py