-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid literal for int() with base 10: 'unknown' #53
Comments
Dug a little deeper and the input data causing this problem is from Heroku's router, which looks like: fwd="unknown,XXX.XXX.XXX.XXX" where X was a valid number. While I do not know why Heroku does this, iprestrict still needs to validate the input before trying to parse it, so as not to crash. |
jplehmann
added a commit
to jplehmann/django-iprestrict
that referenced
this issue
Feb 1, 2019
I have the same issue. How it can be fixed? |
sztamas
added a commit
to sztamas/django-iprestrict-redux
that referenced
this issue
Aug 30, 2020
Fixes muccg/django-iprestrict#53 References: * muccg/djang-iprestrict#54 * #1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using Django 1.11 and
django-iprestrict==1.7.0
:The text was updated successfully, but these errors were encountered: