INN commit: trunk/scripts (inncheck.in)

INN Commit rra at isc.org
Mon Jul 11 09:04:30 UTC 2011


    Date: Monday, July 11, 2011 @ 02:04:29
  Author: iulius
Revision: 9235

inncheck:  properly find the boundaries of substituted variables in newsfeeds

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

Modified:
  trunk/scripts/inncheck.in

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

Modified: inncheck.in
===================================================================
--- inncheck.in	2011-07-10 19:31:50 UTC (rev 9234)
+++ inncheck.in	2011-07-11 09:04:29 UTC (rev 9235)
@@ -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