Properly quote URL in link to resend an email
authorMagnus Hagander <magnus@hagander.net>
Mon, 24 May 2021 10:48:16 +0000 (12:48 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 24 May 2021 10:48:16 +0000 (12:48 +0200)
commita4b24b88cb343f778cac5ab66cc6117dac68bf21
tree17fdec71ac6ff38107f71d053d0cdec7c0f9b68e
parent37f0f3f0a74c91a2c6f0104ee06c7725161c9b86
Properly quote URL in link to resend an email

The lack of this would result in a 404 for any users who clicked a
resend link when (1) they were not logged in, and (2) the messageid
cotnained a plus character. This would then end up getting unescaped
one too many times in the authentication flow and came out as a space on
the other end instead of a plus.

Reported by Justin Pryzby (and several others, but Justin was persistant
in tracking down good examples)
django/archives/mailarchives/views.py