Projet

Général

Profil

Bug #40887

'PublicPaymentDirectory' object has no attribute '_q_index'

Ajouté par Frédéric Péters il y a environ 4 ans. Mis à jour il y a environ 4 ans.

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

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Lors d'un "audit" qui tape à côté, des accès genre /payment/xxx et cette trace,

Exception:
  type = '<class 'AttributeError'>', value = ''PublicPaymentDirectory' object has no attribute '_q_index''

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/quixote/directory.py", line 80, in _q_traverse
    78         name = self._q_translate(component)
    79         if name is not None:
>   80             obj = getattr(self, name)
    81         else:
    82             obj = self._q_lookup(component)

  locals:
     component = ''
     name = '_q_index'
     path = []
     self = <modules.payments.PublicPaymentDirectory object at 0x7f9a2c604c50>

Fichiers

Révisions associées

Révision 0f3d126d (diff)
Ajouté par Frédéric Péters il y a environ 4 ans

payments: don't advertise /payments/ as a valid URL (#40887)

Historique

#1

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

  • Tracker changé de Development à Bug
#2

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

#3

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

  • Statut changé de Solution proposée à Solution validée
#4

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

  • Statut changé de Solution validée à Résolu (à déployer)
commit 0f3d126d43dc276ae73296eb8b312786a782e4eb
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Mon Mar 23 14:59:55 2020 +0100

    payments: don't advertise /payments/ as a valid URL (#40887)
#5

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

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF