It seems get_ident
in BaseThrottle
is splitting wrongly
#9384
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Following snippet is from throttling.BaseProxy:
In the last line when the code is splitting xff, it seems it is missing ',' in the split param.
I mean this:
return ''.join(xff.split()) if xff else remote_addr
should change to:
return ''.join(xff.split(',')) if xff else remote_addr
Beta Was this translation helpful? Give feedback.
All reactions