]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 389407: api/Bugzilla/Auth.html incorrectly detected by t/009bugwords.t - Patch...
authorlpsolit%gmail.com <>
Wed, 25 Jul 2007 19:52:21 +0000 (19:52 +0000)
committerlpsolit%gmail.com <>
Wed, 25 Jul 2007 19:52:21 +0000 (19:52 +0000)
t/009bugwords.t

index a4962f223b9fa4d1d0d60dd9393c9cadc68ba17f..8abbe16061319d2fc5374dd54228f62c8221b14e 100644 (file)
@@ -79,7 +79,7 @@ foreach my $file (@testitems) {
         # "Bugzilla"
         if (grep /(?<!X\-)Bugzilla(?!_|::|-&gt|\.pm)/, $text) {
             # Exclude JS comments, hyperlinks, USE, and variable assignment.
-            unless (grep /(\/\/.*|(org|api).*>|USE |= )Bugzilla/, $text) {
+            unless (grep /(\/\/.*|org.*>|api\/|USE |= )Bugzilla/, $text) {
                 push(@errors, [$lineno, $text]);
                 next;
             }