Ticket #282 (closed bug: fixed)

Opened 1 year ago

Last modified 1 year ago

quotes non échappés dans un DAO

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

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

patch-282.diff (1.1 kB) - added by bastnic on 09/26/07 10:49:27.
patch version 1

Change History

09/26/07 10:15:59 changed 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.

09/26/07 10:49:27 changed by bastnic

  • attachment patch-282.diff added.

patch version 1

09/27/07 17:29:26 changed by laurentj

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

09/28/07 11:03:24 changed by laurentj

  • status changed from new to closed.
  • resolution set to fixed.

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

Download in other formats: Comma-delimited Text Tab-delimited Text RSS Feed