PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_NestedSet » Bug #561

db fields in query-strings are not escaped

Details

Submitted2004-01-13 10:23 UTC
Fromc dot weyland at gmx dot de
Assigneddatenpunk
StatusClosed
PackageDB_NestedSet
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2004-01-13 10:23 UTC] c dot weyland at gmx dot de

Description:
------------
fields in sql query strings are not escaped, so its not possible to use custom fields such as "key", which are 'reserved' i.e. by mysql.

fields probably should be enclosed in backticks.

[2004-03-31 08:31 UTC] datenpunk at php dot net

This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.

Thank you for the report, and for helping us make PEAR better.