public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alex Legler" <a3li@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/ag-web:master commit in: views/
Date: Wed, 25 Feb 2015 10:47:04 +0000 (UTC)	[thread overview]
Message-ID: <1424861218.77fb95e5f90138216f4a37fa545409695932711f.a3li@gentoo> (raw)

commit:     77fb95e5f90138216f4a37fa545409695932711f
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Wed Feb 25 10:46:58 2015 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Wed Feb 25 10:46:58 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/ag-web.git;a=commit;h=77fb95e5

Escape addresses on the front page

---
 views/indexentry.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/views/indexentry.erb b/views/indexentry.erb
index ba6a2cf..4c8edec 100644
--- a/views/indexentry.erb
+++ b/views/indexentry.erb
@@ -21,7 +21,7 @@
         <% MostRecentMessagesCache.instance[list].each do |message| %>
         <tr>
           <td><a href="/<%= list %>/message/<%= message['_id'] %>"><%= h message['_source']['subject'] %></a></td>
-          <td><%= h message['_source']['from_realname'] %></td>
+          <td><%= h strip_email_headers(message['_source']['from_realname']).first %></td>
         </tr>
         <% end %>
       </table>


             reply	other threads:[~2015-02-25 10:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-25 10:47 Alex Legler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-02-26 13:12 [gentoo-commits] proj/ag-web:master commit in: views/ Alex Legler
2015-02-25 21:44 Alex Legler
2015-02-25 21:44 Alex Legler
2015-02-23 23:55 Alex Legler
2015-02-22 11:05 Alex Legler
2015-02-22 11:02 Alex Legler
2015-02-22  4:38 Robin H. Johnson
2015-02-22  0:15 Alex Legler
2015-02-22  0:14 Alex Legler
2015-02-22  0:04 Alex Legler
2015-02-22  0:03 Alex Legler
2015-02-22  0:01 Alex Legler
2015-02-22  0:00 Alex Legler
2015-02-21 23:57 Alex Legler
2015-02-21 23:49 Robin H. Johnson
2015-02-21 23:41 Robin H. Johnson
2015-02-21 23:39 Robin H. Johnson
2015-02-21 23:34 Robin H. Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1424861218.77fb95e5f90138216f4a37fa545409695932711f.a3li@gentoo \
    --to=a3li@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox