[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.6-236-gfeaaaee

? sunnavy sunnavy at bestpractical.com
Tue Nov 30 08:00:15 EST 2010


The branch, 3.9-trunk has been updated
       via  feaaaeefc97e6891f824e1013d945b9ea2b31aec (commit)
       via  3d0826ebdeb6b3886125dbb026de21645ce06750 (commit)
      from  ba4902287ff010bbe91b78e1bd12aca53e269a65 (commit)

Summary of changes:
 share/html/Elements/MaybeRedirectForResults |    1 +
 t/mail/dashboards.t                         |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 3d0826ebdeb6b3886125dbb026de21645ce06750
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Nov 30 20:58:39 2010 +0800

    dashboard title was updated in 8897ee388a

diff --git a/t/mail/dashboards.t b/t/mail/dashboards.t
index 7c2206a..1ae81ba 100644
--- a/t/mail/dashboards.t
+++ b/t/mail/dashboards.t
@@ -16,7 +16,7 @@ $m->click_button(value => 'Create');
 $m->title_is('Modify the dashboard Testing!');
 
 $m->follow_link_ok({text => 'Content'});
-$m->title_is('Modify the queries of dashboard Testing!');
+$m->title_is('Modify the content of dashboard Testing!');
 
 my $form = $m->form_name('Dashboard-Searches-body');
 my @input = $form->find_input('Searches-body-Available');

commit feaaaeefc97e6891f824e1013d945b9ea2b31aec
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Nov 30 20:59:12 2010 +0800

    WebURL has trailing / already

diff --git a/share/html/Elements/MaybeRedirectForResults b/share/html/Elements/MaybeRedirectForResults
index 4234f96..f0afb34 100644
--- a/share/html/Elements/MaybeRedirectForResults
+++ b/share/html/Elements/MaybeRedirectForResults
@@ -59,6 +59,7 @@ if ( grep {defined} @$Actions ) {
     my $key = Digest::MD5::md5_hex( rand(1024) );
     push @{ $session{"Actions"}->{$key} ||= [] }, @$Actions;
     $session{'i'}++;
+    $Path =~ s!^/+!!;
     my $url = RT->Config->Get('WebURL') . "$Path?id=" . $id . "&results=" . $key;
     $url .= '#' . $ARGSRef->{Anchor} if $ARGSRef->{Anchor};
     RT::Interface::Web::Redirect($url);

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


More information about the Rt-commit mailing list