Skip to content

python-ipware 5.0.0

Choose a tag to compare

@un33k un33k released this 29 Nov 11:06
· 4 commits to main since this release
4622f5c

Reported by Sang Nguyen (sangn6767@gmail.com).

  • Stricter handling of malformed proxy header values. All users are encouraged to upgrade to 5.0.0+
  • Breaking: with proxy_count / proxy_list set, only the first header present (by precedence) is used;
    lower headers are no longer consulted, and empty or non-IP entries keep their position in the chain.
    Pass a precedence naming the header your proxies write.
  • Deprecate the legacy engine (algorithm="legacy" / LegacyIpWare). It now emits a DeprecationWarning
    and will be removed in a future major release; move to the default IpWare().