INN commit: branches/2.5/scripts (inncheck.in)

INN Commit rra at isc.org
Sun Jul 17 19:21:04 UTC 2011


    Date: Sunday, July 17, 2011 @ 12:21:03
  Author: iulius
Revision: 9277

inncheck:  properly find the boundaries of substituted variables in newsfeeds

Thanks to Alexander Bartolich for the bug report, and also the patch.

Modified:
  branches/2.5/scripts/inncheck.in

-------------+
 inncheck.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: inncheck.in
===================================================================
--- inncheck.in	2011-07-17 19:09:50 UTC (rev 9276)
+++ inncheck.in	2011-07-17 19:21:03 UTC (rev 9277)
@@ -721,7 +721,7 @@
 
         ##  Substitute variables.
         for my $key (keys %variables) {
-            s/\$$key/$variables{$key}/;
+            s/\$$key\b/$variables{$key}/;
         }
 
         ##  Catch a variable setting.




More information about the inn-committers mailing list