From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A7C52138A87 for ; Wed, 25 Feb 2015 10:55:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E212E092D; Wed, 25 Feb 2015 10:55:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E06D9E092D for ; Wed, 25 Feb 2015 10:55:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC1A334084B for ; Wed, 25 Feb 2015 10:55:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC5AE1284E for ; Wed, 25 Feb 2015 10:47:04 +0000 (UTC) From: "Alex Legler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alex Legler" Message-ID: <1424861218.77fb95e5f90138216f4a37fa545409695932711f.a3li@gentoo> Subject: [gentoo-commits] proj/ag-web:master commit in: views/ X-VCS-Repository: proj/ag-web X-VCS-Files: views/indexentry.erb X-VCS-Directories: views/ X-VCS-Committer: a3li X-VCS-Committer-Name: Alex Legler X-VCS-Revision: 77fb95e5f90138216f4a37fa545409695932711f X-VCS-Branch: master Date: Wed, 25 Feb 2015 10:47:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 312f9317-67a4-4805-b314-3f995b17666b X-Archives-Hash: 9d01247eef8c71c6778c2d4edf41c504 commit: 77fb95e5f90138216f4a37fa545409695932711f Author: Alex Legler a3li li> AuthorDate: Wed Feb 25 10:46:58 2015 +0000 Commit: Alex Legler gentoo 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| %> <%= h message['_source']['subject'] %> - <%= h message['_source']['from_realname'] %> + <%= h strip_email_headers(message['_source']['from_realname']).first %> <% end %>