Project

General

Profile

Bug #8939

Éviter des traces idiotes et plutôt renvoyer du 400 ou du 404

Added by Benjamin Dauvergne almost 9 years ago. Updated over 8 years ago.

Status:
Fermé
Priority:
Bas
Target version:
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

Revision 4f77ee0e (diff)
Added by Benjamin Dauvergne over 8 years ago

do not pass strings contening null characters to Lasso, return 400 or ignore (fixes #8939)

History

#1

Updated by Benjamin Dauvergne almost 9 years ago

  • Target version set to 1.2.23
#2

Updated by Benjamin Dauvergne over 8 years ago

  • Assignee set to Benjamin Dauvergne
#3

Updated by Benjamin Dauvergne over 8 years ago

  • Status changed from Nouveau to Résolu (à déployer)
  • % Done changed from 0 to 100
#4

Updated by Benjamin Dauvergne over 8 years ago

  • Status changed from Résolu (à déployer) to Fermé

Also available in: Atom PDF