diff options
author | mkanat%bugzilla.org <> | 2009-07-07 18:16:51 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-07-07 18:16:51 +0000 |
commit | 89b15c8ff86238276de3428c379e46f7c04b6516 (patch) | |
tree | 43783cd8539a794b58ebe5b86dbfa7e43eaf143c /Bugzilla/DB.pm | |
parent | 6a51c4c39e8ced6f808d5517d52c041d9305c2c0 (diff) | |
download | bugs-89b15c8ff86238276de3428c379e46f7c04b6516.tar bugs-89b15c8ff86238276de3428c379e46f7c04b6516.tar.gz bugs-89b15c8ff86238276de3428c379e46f7c04b6516.tar.bz2 bugs-89b15c8ff86238276de3428c379e46f7c04b6516.tar.xz bugs-89b15c8ff86238276de3428c379e46f7c04b6516.zip |
Bug 491467: Make Search.pm and buglist.cgi consistently take column ids for the "fields" and "order" arguments, to prevent problems with using SQL fragments in the order and columnlist.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=wicked, a=mkanat
Diffstat (limited to 'Bugzilla/DB.pm')
-rw-r--r-- | Bugzilla/DB.pm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index f7d00f3b3..4bf064375 100644 --- a/Bugzilla/DB.pm +++ b/Bugzilla/DB.pm @@ -52,7 +52,6 @@ use Storable qw(dclone); use constant BLOB_TYPE => DBI::SQL_BLOB; use constant ISOLATION_LEVEL => 'REPEATABLE READ'; -use constant GROUPBY_REGEXP => '(?:.*\s+AS\s+|SUBSTRING\()?(\w+(\.\w+)?)(?:\s+(ASC|DESC|FROM\s+.+))?$'; # Set default values for what used to be the enum types. These values # are no longer stored in localconfig. If we are upgrading from a |