Projet

Général

Profil

Bug #6796

Crash sur adresse email avec une partie de domaine vide

Ajouté par Frédéric Péters il y a environ 9 ans. Mis à jour il y a plus de 8 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
23 mars 2015
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

ex: fred@.be, ou fred@0d..be (véritable trace de l'auf avec @yahoo..fr)

  File "/home/fred/src/eo/wcs/wcs/qommon/form.py", line 714, in _parse
    domain = domain.encode('idna')
  File "/usr/lib/python2.7/encodings/idna.py", line 164, in encode
    result.append(ToASCII(label))
  File "/usr/lib/python2.7/encodings/idna.py", line 73, in ToASCII
    raise UnicodeError("label empty or too long")
UnicodeError: label empty or too long

Fichiers

Révisions associées

Révision b6ccb50c (diff)
Ajouté par Frédéric Péters il y a environ 9 ans

form: don't break on emails with empty parts in domain (#6796)

Historique

#1

Mis à jour par Frédéric Péters il y a environ 9 ans

#2

Mis à jour par Thomas Noël il y a environ 9 ans

Ack

#3

Mis à jour par Frédéric Péters il y a environ 9 ans

  • Statut changé de En cours à Résolu (à déployer)
commit b6ccb50c2ad347b5a3cdfdad901fb4d21bf969c1
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Mon Mar 23 22:14:49 2015 +0100

    form: don't break on emails with empty parts in domain (#6796)
#4

Mis à jour par Thomas Noël il y a plus de 8 ans

  • Statut changé de Résolu (à déployer) à Fermé

Formats disponibles : Atom PDF