[Rt-commit] rt branch, 4.2/cf-autocomplete-grouping-name, repushed
Jim Brandt
jbrandt at bestpractical.com
Fri Nov 15 13:22:53 EST 2013
The branch 4.2/cf-autocomplete-grouping-name was deleted and repushed:
was af6c059546be77e7b948ec4d169f5c5b010ee482
now c712200de45e1fce9b5014643a12030da606c8b3
1: ee1274a = 1: ee1274a Update NamePrefix regex to match CF grouping when provided
2: af6c059 ! 2: c712200 Update autocomplete calls to include object type
@@ -1,10 +1,24 @@
Author: Jim Brandt <jbrandt at bestpractical.com>
- Update autocomplete call to include object type
+ Update autocomplete calls to include object type
- The previous autocomplete query was successful with the old
+ The previous autocomplete queries were successful with the old
autocomplete cf regex, but object type (i.e., RT::Ticket) is
- correctly required by the regex in _ParseObjectCustomFieldArgs.
+ correctly required in the CF arg string by the regex in
+ _ParseObjectCustomFieldArgs.
+
+diff --git a/t/security/CVE-2011-2084-cf-values.t b/t/security/CVE-2011-2084-cf-values.t
+--- a/t/security/CVE-2011-2084-cf-values.t
++++ b/t/security/CVE-2011-2084-cf-values.t
+@@
+ $args{ContextType} = ref($obj) unless defined $args{ContextType};
+ }
+
+- $args{"Object---CustomField-$args{CF}-Values"} = "";
++ $args{"Object-RT::Ticket--CustomField-$args{CF}-Values"} = "";
+ delete $args{CF};
+
+ delete $args{$_} for grep {not defined $args{$_}} keys %args;
diff --git a/t/web/case-sensitivity.t b/t/web/case-sensitivity.t
--- a/t/web/case-sensitivity.t
More information about the rt-commit
mailing list