[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.5-202-g2ee0be2
Kevin Falcone
falcone at bestpractical.com
Wed Sep 30 13:36:28 EDT 2009
The branch, 3.8-trunk has been updated
via 2ee0be2a3d4f81aafe72609820f3c46a34b46ff9 (commit)
via 62ddfa46a74d4435da6f980ee98a37ec0f254e6f (commit)
from 6e1ef3b754af78f63c7ea1c2898b0dee59e661e7 (commit)
Summary of changes:
lib/RT/Interface/Web.pm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 62ddfa46a74d4435da6f980ee98a37ec0f254e6f
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Wed Sep 30 13:31:02 2009 -0400
Revert "$m isn't defined here, use the full name"
This reverts commit 6e1ef3b754af78f63c7ea1c2898b0dee59e661e7.
diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 341d8c5..a090fa8 100755
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -274,7 +274,7 @@ If it serves a page, it stops mason processing. Otherwise, mason just keeps runn
sub MaybeShowNoAuthPage {
my $ARGS = shift;
- return unless $HTML::Mason::Commands::m->base_comp->path =~ RT->Config->Get('WebNoAuthRegex');
+ return unless $m->base_comp->path =~ RT->Config->Get('WebNoAuthRegex');
# If it's a noauth file, don't ask for auth.
my $m = $HTML::Mason::Commands::m;
commit 2ee0be2a3d4f81aafe72609820f3c46a34b46ff9
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Wed Sep 30 13:31:38 2009 -0400
better fix for missing $m
diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index a090fa8..757de8e 100755
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -274,10 +274,11 @@ If it serves a page, it stops mason processing. Otherwise, mason just keeps runn
sub MaybeShowNoAuthPage {
my $ARGS = shift;
+ my $m = $HTML::Mason::Commands::m;
+
return unless $m->base_comp->path =~ RT->Config->Get('WebNoAuthRegex');
# If it's a noauth file, don't ask for auth.
- my $m = $HTML::Mason::Commands::m;
SendSessionCookie();
$m->comp( { base_comp => $m->request_comp }, $m->fetch_next, %$ARGS );
$m->abort;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list