django-registration 激活 url 中的等号
我正在使用 django-registration,由于某种原因,当它发送激活电子邮件时,它会在倒数第三个字符中插入等号,如下所示:
这意味着 URL 调度程序不会捕获该 URL(正则表达式为 ^activate/(?P
。该 url 无论如何都是不正确的,因为它应该没有 有人知道
为什么会这样吗?
I am using django-registration and for some reason, when it sends the activation email, it inserts an equals sign in the third to last character as such: http://example.com/accounts/activate/a65b4aca5156211bc522e29f3e872290544d14=
e4/
This means the URL dispatcher does not catch the URL (the regex is ^activate/(?P<activation_key>\w+)/$
. The url is incorrect anyway, as it should be without the equals sign.
Anybody know why this is happening?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的电子邮件客户端未正确读取引用可打印编码的消息。行末尾的
=
表示该行应与下一行无缝连接。Your email client isn't reading the quoted-printable-encoded message properly. A
=
at the end of a line means that the line should be concatenated with the following line seamlessly.