From 29095f5bc9b7d99dbb815556c22aefe760ded24e Mon Sep 17 00:00:00 2001 From: dbs Date: Thu, 19 Nov 2009 16:14:42 +0000 Subject: [PATCH] Apply patch from Galen Charlton to escape email addresses in overdue notices: "Trivial patch to turn on XML-escaping of e-mail addresses. '&' is a rarely used but valid character in email addresses, and failing to escape makes the overdue notice data file non-well-formed." git-svn-id: svn://svn.open-ils.org/ILS/trunk@14971 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/examples/templates/overdue_combined_xml.example | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/examples/templates/overdue_combined_xml.example b/Open-ILS/examples/templates/overdue_combined_xml.example index 04b8735483..3388137b6f 100644 --- a/Open-ILS/examples/templates/overdue_combined_xml.example +++ b/Open-ILS/examples/templates/overdue_combined_xml.example @@ -23,7 +23,7 @@ [% escape_xml(user_addr.city) %] [% user_addr.state %] [% user_addr.post_code %] - [% user.email %] + [% escape_xml(user.email) %] [% user.id %] @@ -35,7 +35,7 @@ [% escape_xml(lib_addr.city) %] [% lib_addr.state %] [% lib_addr.post_code %] - [% lib.email %] + [% escape_xml(lib.email) %] [% lib.id %] [%- FOREACH circ = circ_set.circ_list %] -- 2.11.0