[svk-commit] r2258 - branches/2.0-releng/lib/SVK/Editor

nobody at bestpractical.com nobody at bestpractical.com
Sun Dec 24 08:19:18 EST 2006


Author: clkao
Date: Sun Dec 24 08:19:17 2006
New Revision: 2258

Modified:
   branches/2.0-releng/lib/SVK/Editor/Diff.pm

Log:
Fix unescaped regex.

Modified: branches/2.0-releng/lib/SVK/Editor/Diff.pm
==============================================================================
--- branches/2.0-releng/lib/SVK/Editor/Diff.pm	(original)
+++ branches/2.0-releng/lib/SVK/Editor/Diff.pm	Sun Dec 24 08:19:17 2006
@@ -92,7 +92,7 @@
     my ($self, $from_path) = @_;
 
     my $repospath_start = "file://" . $self->{base_target}->repospath;
-    $from_path =~ s/^$repospath_start//;
+    $from_path =~ s/^\Q$repospath_start//;
 
     return $from_path;
 }


More information about the svk-commit mailing list