[kde-services-devel] r497 - trunk/commitfilter

josef at new.kstuff.org josef at new.kstuff.org
Sat Jan 31 20:43:24 CET 2009


Author: josef
Date: 2009-01-31 20:43:23 +0100 (Sat, 31 Jan 2009)
New Revision: 497

Modified:
   trunk/commitfilter/commitfilter
Log:
- path arguments must be quoted so that entered quotes become slash-quotes



Modified: trunk/commitfilter/commitfilter
===================================================================
--- trunk/commitfilter/commitfilter	2009-01-07 19:47:33 UTC (rev 496)
+++ trunk/commitfilter/commitfilter	2009-01-31 19:43:23 UTC (rev 497)
@@ -87,6 +87,8 @@
 		$path =~ s/\/$//;
 		@branchlist = split(/,/, $branches);
 
+		$path =~ s/\"/\\\"/g;
+
 		if (!($options =~ /followup/)){
 			$cond = "if \$header_x-commit-directories: contains \"$path\" ";
 			#$cond .= "and\n   ";



More information about the kde-services-devel mailing list