Skip to content

Commit

Permalink
1.7.1dev: merge [17857] from 1.6-stable (fix for #13790)
Browse files Browse the repository at this point in the history
git-svn-id: http://trac.edgewall.org/intertrac/log:/trunk@17858 af82e41b-90c4-0310-8c96-b1721e28e2e2
  • Loading branch information
jomae committed Oct 4, 2024
2 parents c70fad7 + 10025a5 commit 6277cea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion trac/notification/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
r"[a-zA-Z0-9.'+_-]+" '@'
# the domain name part (RFC:1035)
r'(?:[a-zA-Z0-9_-]+\.)+' # labels (but also allow '_')
r'[a-zA-Z](?:[-a-zA-Z\d]*[a-zA-Z\d])?' # TLD
r'[a-zA-Z](?:[-a-zA-Z0-9]*[a-zA-Z0-9])?' # TLD
)

_mime_encoding_re = re.compile(r'=\?[^?]+\?[bq]\?[^?]+\?=', re.IGNORECASE)
Expand Down
8 changes: 8 additions & 0 deletions trac/wiki/tests/wiki-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,10 @@ trac+devel@another-site.fr,
T_r+a-c1.23@yet_another-site.edu.au
!not@an.email.com
someone@louvre.museum-
local@exa६ple.org (U+096c)
local@example.or೬ (U+0cec)
local@example.o6g (U+ff16)
local@example.or𝟨 (U+1d7e8)
------------------------------
<p>
Author: <a class="mail-link" href="mailto:cboos@edgewall.org"><span class="icon"></span>mailto:cboos@edgewall.org</a>,
Expand All @@ -440,6 +444,10 @@ i.e. <a class="mail-link" href="mailto:cboos@edgewall.org"><span class="icon"></
<a class="mail-link" href="mailto:T_r+a-c1.23@yet_another-site.edu.au"><span class="icon"></span>T_r+a-c1.23@yet_another-site.edu.au</a>
not@an.email.com
<a class="mail-link" href="mailto:someone@louvre.museum"><span class="icon"></span>someone@louvre.museum</a>-
local@exa६ple.org (U+096c)
<a class="mail-link" href="mailto:local@example.or"><span class="icon"></span>local@example.or</a>೬ (U+0cec)
<a class="mail-link" href="mailto:local@example.o"><span class="icon"></span>local@example.o</a>6g (U+ff16)
<a class="mail-link" href="mailto:local@example.or"><span class="icon"></span>local@example.or</a>𝟨 (U+1d7e8)
</p>
------------------------------
============================== Arbitrary protocol Link
Expand Down

0 comments on commit 6277cea

Please sign in to comment.