mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 17:06:01 +03:00
[PR #2457] [CLOSED] Patch for Email Headers aren't truncated #2562
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#2562
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/modoboa/modoboa/pull/2457
Author: @mohamed-ghayyad
Created: 2/8/2022
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
97d7589Patch for imap4-utf-7 on Debian 11 and Python 3.9 #22762ef794Merge branch 'master' of https://github.com/mohamed-ghayyad/modoboa📄 Description
Description of the issue
see https://github.com/modoboa/modoboa-webmail/issues/230
Patch:
Replace
{% if hdr.safe %}{{ hdr.value|safe }}{% else %}{{ hdr.value }}{% endif %}With
{% if hdr.safe %}{% if hdr.value|length > 100 %}{{ hdr.value|safe|truncatechars_html:100 }}{% else %}{{ hdr.value|safe }}{% endif %}{% elif hdr.value|length > 100 %}{{ hdr.value|truncatechars_html:100}}{% else %}{{ hdr.value}}{% endif %}🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.