We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there,
if any of the META keys in IPWARE_META_PRECEDENCE_LIST happens to be undefined/None, get_ip() fails.
Traceback: File "/Users/patrick/.virtualenvs/ib-cms/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 132. response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/Users/patrick/.virtualenvs/ib-cms/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view 58. return view_func(*args, **kwargs) File "/Users/patrick/Dev/ib-main/cms/views.py" in fallback_upload_view 192. queue.client_ip = get_ip(request) File "/Users/patrick/.virtualenvs/ib-cms/lib/python2.7/site-packages/ipware/ip.py" in get_ip 14. value = request.META.get(key, '').strip()
Will send a pull request...
The text was updated successfully, but these errors were encountered:
Fixes issue un33k#11 - No longer throws an exception if any meta key …
8d4d4fc
…is None
Merge pull request #12 from HageMaster3108/bugfix/meta-none-issue-11
79e6e99
Fixes issue #11 - No longer throws an exception if any meta key is None
No branches or pull requests
Hi there,
if any of the META keys in IPWARE_META_PRECEDENCE_LIST happens to be undefined/None, get_ip() fails.
Will send a pull request...
The text was updated successfully, but these errors were encountered: