Bug #8939
Éviter des traces idiotes et plutôt renvoyer du 400 ou du 404
Start date:
10 November 2015
Due date:
% Done:
100%
Estimated time:
Patch proposed:
No
Planning:
Description
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 57, in wrapped_view return view_func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, in view return self.dispatch(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 87, in dispatch return handler(request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/mellon/views.py", line 241, in get login.msgRelayState = next_url File "/usr/lib/python2.7/dist-packages/lasso.py", line 6526, in set_msgRelayState _lasso.Profile_msgRelayState_set(self._cptr, value) TypeError: must be string without null bytes or None, not str GET:<QueryDict: {u'next': [u'/mes-abonnements/f3a5d\x00\n0a459']}>,
Associated revisions
History
Updated by Benjamin Dauvergne over 8 years ago
- Status changed from Nouveau to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit django-mellon|4f77ee0e245eb3bdd398c25fc4862a6ca3f6bbf6.
do not pass strings contening null characters to Lasso, return 400 or ignore (fixes #8939)