This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new f0e1c45 Clarify docn
f0e1c45 is described below
commit f0e1c45ddf3bc1d2f323384e3833900ff580d5ac
Author: Sebb <[email protected]>
AuthorDate: Fri Nov 12 22:47:46 2021 +0000
Clarify docn
---
server/plugins/messages.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/plugins/messages.py b/server/plugins/messages.py
index fda69bc..8a796f9 100644
--- a/server/plugins/messages.py
+++ b/server/plugins/messages.py
@@ -40,7 +40,7 @@ import plugins.database
PYPONY_RE_PREFIX = re.compile(r"^([a-zA-Z]+:\s*)+") # Prefixes on subjects,
such as Re: Fwd:, etc.
DATABASE_NOT_CONNECTED = "Database not connected!"
OLD_SHORTENED_ID_LENGTH = 18 # Thread IDs of 18 char length (deprecated) need
special care in searches
-NEEDS_QUOTES = re.compile(r'[][\\()<>@,:;".]') # If these characters are
present in a From: header, quote it
+NEEDS_QUOTES = re.compile(r'[][\\()<>@,:;".]') # If these characters are
present in an email display name, quote it
ESCAPES_RE = re.compile(r'[\\"]') # Characters to escape with backslash in
make_address()
mbox_cache_privacy: typing.Dict[str, bool] = {}