Projet

Général

Profil

Bug #31122

limiter les pages du /manage/ aux id numériques

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

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

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

Pour le moment la plupart des URL autorisent \w+ pour les clés primaires avec comme seul résultat que ça explose derrière quand autre chose qu'un nombre est passé; ça devrait être \d+ et comme ça 404 automatique.

Exception Type: ValueError at /manage/agendas/export/
Exception Value: invalid literal for int() with base 10: 'export'

Fichiers

Révisions associées

Révision 86e763f8 (diff)
Ajouté par Frédéric Péters il y a environ 5 ans

manager: limit URL primary key matches to digits (#31122)

Historique

#1

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

#2

Mis à jour par Benjamin Dauvergne il y a environ 5 ans

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

Ack.

#3

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

  • Statut changé de Solution validée à Résolu (à déployer)
commit 86e763f8cca471a0d81b6ce7726640b01607cece
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Wed Mar 6 11:16:25 2019 +0100

    manager: limit URL primary key matches to digits (#31122)
#4

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

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

Formats disponibles : Atom PDF