[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.7-151-g306df90

sartak at bestpractical.com sartak at bestpractical.com
Tue Feb 9 16:53:55 EST 2010


The branch, 3.8-trunk has been updated
       via  306df9019b263bee09d5c5e564179849f7c59536 (commit)
      from  d5488e7f2d7de7e27eb5be9f5b78323adbdcc07d (commit)

Summary of changes:
 lib/RT/Interface/Web.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 306df9019b263bee09d5c5e564179849f7c59536
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Feb 9 16:53:49 2010 -0500

    Use the right variable name

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 2fb9701..fccfdb2 100755
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -586,7 +586,7 @@ sub PathIsSafe {
         if ($component eq '..') {
             $score--;
             if ($score < 0) {
-                $RT::Logger->info("Rejecting unsafe path: $file");
+                $RT::Logger->info("Rejecting unsafe path: $path");
                 return 0;
             }
         }

-----------------------------------------------------------------------


More information about the Rt-commit mailing list