developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 13 years ago

Closed 13 years ago

#282 closed bug (fixed)

quotes non échappés dans un DAO

Reported by: bastnic Owned by:
Priority: high Milestone: Jelix 1.0beta3.1
Component: jelix:dao Version: 1.0 beta3
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Documentation needed:
Hosting Provider: Php version:

Description

par exemple selectpattern="CONCAT(prenom,' ',nom)" produit une page blanche.

Si je les échappe dans le DAO ça fonctionne... mais ce n'est pas propre !

Attachments (1)

patch-282.diff (1.1 KB) - added by bastnic 13 years ago.
patch version 1

Download all attachments as: .zip

Change History (4)

comment:1 Changed 13 years ago by laurentj

  • Priority changed from normal to high

En fait, les quotes ne sont pas échappés lors de la construction de la clause SELECT dans la classe générée.

Changed 13 years ago by bastnic

patch version 1

comment:2 Changed 13 years ago by laurentj

  • Milestone changed from Jelix 1.0 to Jelix 1.0beta3.1

comment:3 Changed 13 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed

Patch + tests unitaires intégrés dans le trunk et la branche 1.0beta3.x

Note: See TracTickets for help on using tickets.