[Bps-public-commit] RT-BugTracker-Public branch, master, updated. 6c66a2e1c8ced8bcccc0bbfb5ddc94b82c85129a

Alex Vandiver alexmv at bestpractical.com
Mon Jul 9 19:25:44 EDT 2012


The branch, master has been updated
       via  6c66a2e1c8ced8bcccc0bbfb5ddc94b82c85129a (commit)
      from  226ceea515fa576c10d81c298ea5145ba6962ae6 (commit)

Summary of changes:
 html/Elements/PersonalQuickbar | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 6c66a2e1c8ced8bcccc0bbfb5ddc94b82c85129a
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Thu Apr 5 12:43:42 2012 -0400

    Escape current username

diff --git a/html/Elements/PersonalQuickbar b/html/Elements/PersonalQuickbar
index 806ac20..8f01632 100644
--- a/html/Elements/PersonalQuickbar
+++ b/html/Elements/PersonalQuickbar
@@ -5,7 +5,7 @@
     | <a href="<% RT->Config->Get('WebPath') %>/NoAuth/Logout.html?URL=<% $return_url %>"><&|/l&>Login</&></a>
     | <a href="<% RT->Config->Get('WebPath') %>/NoAuth/Logout.html"><&|/l&>Return to Main</&></a>
 % } elsif ( $logged_in ) {
-    <&|/l, "<span>".$session{'CurrentUser'}->Name."</span>" &>Logged in as [_1]</&>
+    <% loc("Logged in as [_1]", "<span>".$m->interp->apply_escapes($session{'CurrentUser'}->Name,'h')."</span>") |n %>
 % } else {
     <&|/l&>Not logged in.</&>
 % }

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



More information about the Bps-public-commit mailing list