django-urlcrypt
django-urlcrypt copied to clipboard
Encrypts information in urls, such as login credentials. Useful if you want to send a user a link that logs the user in without leaking their login credentials.
I just wanted to share an actually working version of this, all in all it's just a few changes.
django.conf.urls.defaults has been removed in Django 1.6
Fixed rate limiting to return (not raise) HttpResponseForbidden. The view was generating a "TypeError: exceptions must be classes or instances, not HttpResponseForbidden". Also added tests.
I'm probably missing something, but in its current state, the template tag "encode_url_string" is broken. I couldn't see any reason for URL munging and figure it should just encode a...
Using the session_key as as part of they cache key in rate_limit sometimes generates a key that is too long for memcached (255 characters) causing an exception to be raised...
Crypto is used in the code but not present in the requires section off the setup.py file.