From ae7d7c338a3dc39d0c67cb31228e7ba1bd0c5813 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 11 Sep 2005 05:54:19 +0000 Subject: [PATCH] Yet another escape fixer --- includes/svnlib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/svnlib.php b/includes/svnlib.php index dfcc1a5..3376ae2 100644 --- a/includes/svnlib.php +++ b/includes/svnlib.php @@ -146,7 +146,8 @@ class SVNLib // make sure that we keep escaped chars //$output = str_replace(array('\t', '\n', '\r'), array('\\\t', '\\\n', '\\\r'), $output); - $output = preg_replace('#\\\(.)#', '\\\\\\\\' . '\1', $output); + //$output = preg_replace('#\\\(.)#', '\\\\\\\\' . '\1', $output); + $output = str_replace('\\', '\\\\', $output); $temp = implode("\n", $output); if (strpos($temp, '(apr' . '_err=') !== false) -- 2.22.5