Skip to content

Commit cdc295b

Browse files
committed
Merged in [14655] from housley@vigilsec.com:
Strip the HTML tags around the new values in the mail produced by email_iesg_processing_document. Also, provide the previously missing URL at the end of the message. Fixes 2455. - Legacy-Id: 14657 Note: SVN reference [14655] has been migrated to Git commit 6ea0881
2 parents 885532d + 6ea0881 commit cdc295b

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

ietf/doc/mails.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,15 @@ def email_pulled_from_rfc_queue(request, doc, comment, prev_state, next_state):
8181

8282
def email_iesg_processing_document(request, doc, changes):
8383
addrs = gather_address_lists('doc_iesg_processing_started',doc=doc)
84+
tagless_changes = []
85+
for c in changes:
86+
tagless_changes.append(strip_tags(c))
8487
send_mail(request, addrs.to, None,
8588
'IESG processing details changed for %s' % doc.name,
8689
'doc/mail/email_iesg_processing.txt',
8790
dict(doc=doc,
88-
changes=changes),
91+
changes=tagless_changes,
92+
url=settings.IDTRACKER_BASE_URL + doc.get_absolute_url()),
8993
cc=addrs.cc)
9094

9195
def html_to_text(html):

ready-for-merge

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
# --- Add entries at the top ---
99

10+
/personal/housley/6.65.2.dev0@14655
1011
/personal/housley/6.65.2.dev0@14467
1112
/personal/housley/6.56.1.dev0@14062
1213
#/personal/sbirkholz/6.56.1.dev0@13917

0 commit comments

Comments
 (0)