[Rt-commit] rt branch, 4.0/not-in-operator, created. rt-4.0.11rc1-13-g691c506
Thomas Sibley
trs at bestpractical.com
Mon Apr 1 19:42:40 EDT 2013
The branch, 4.0/not-in-operator has been created
at 691c5065623a526aa8af664e10f5aae6778eb019 (commit)
- Log -----------------------------------------------------------------
commit 691c5065623a526aa8af664e10f5aae6778eb019
Author: Thomas Sibley <trs at bestpractical.com>
Date: Mon Apr 1 15:39:23 2013 -0700
Allow the NOT IN operator in Limit calls
IN/NOT IN is supported by DBIx::SearchBuilder with the 1.63_01 release.
diff --git a/lib/RT/SearchBuilder.pm b/lib/RT/SearchBuilder.pm
index 1df5ac1..0ace421 100644
--- a/lib/RT/SearchBuilder.pm
+++ b/lib/RT/SearchBuilder.pm
@@ -279,7 +279,7 @@ sub Limit {
|(NOT\s*)?(STARTS|ENDS)WITH
|(NOT\s*)?MATCHES
|IS(\s*NOT)?
- |IN
+ |(NOT\s*)?IN
|\@\@)$/ix) {
$RT::Logger->crit("Possible SQL injection attack: $ARGS{FIELD} $ARGS{OPERATOR}");
$self->SUPER::Limit(
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list