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 47F72138AD7 for ; Mon, 23 Feb 2015 23:55:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA46EE0888; Mon, 23 Feb 2015 23:55:45 +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 69109E0888 for ; Mon, 23 Feb 2015 23:55:45 +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 9B02D34096C for ; Mon, 23 Feb 2015 23:55:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 408671269A for ; Mon, 23 Feb 2015 23:55:43 +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: <1424735639.14cafac14c4d411591c846a0f8d5914fa9972414.a3li@gentoo> Subject: [gentoo-commits] proj/ag-web:master commit in: views/ X-VCS-Repository: proj/ag-web X-VCS-Files: views/listmonth.erb X-VCS-Directories: views/ X-VCS-Committer: a3li X-VCS-Committer-Name: Alex Legler X-VCS-Revision: 14cafac14c4d411591c846a0f8d5914fa9972414 X-VCS-Branch: master Date: Mon, 23 Feb 2015 23:55:43 +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: df309dc9-01bd-44b4-b9ea-2eceda536f3b X-Archives-Hash: 40973970fd35587712387198f4ee0956 commit: 14cafac14c4d411591c846a0f8d5914fa9972414 Author: Alex Legler a3li li> AuthorDate: Mon Feb 23 23:53:59 2015 +0000 Commit: Alex Legler gentoo org> CommitDate: Mon Feb 23 23:53:59 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/ag-web.git;a=commit;h=14cafac1 Properly escape displaynames --- views/listmonth.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/listmonth.erb b/views/listmonth.erb index 76a2244..9f137f0 100644 --- a/views/listmonth.erb +++ b/views/listmonth.erb @@ -22,7 +22,7 @@ <% results['hits']['hits'].each do |message| %> <%= h message['_source']['subject'] %> - <%= h message['_source']['from_realname'] %> + <%= h strip_email_headers(message['_source']['from_realname']).first %> <%= date_format message['_source']['date'] %> <% end %>