bs-community / blessing-skin-server

Web application brings your custom skins back in offline Minecraft servers.
MIT License
835 stars 118 forks source link

自动发送的邮件中的地址打开后显示 403 Forbidden #608

Open chuanwise opened 8 months ago

chuanwise commented 8 months ago

Blessing Skin 版本

6.0.2

PHP 版本

8.1

出现问题时所使用的浏览器

Microsoft Edge

您正在使用的 Web Server

Nginx

您正在使用宝塔吗?

出现了什么问题?

我希望启用用户的邮箱验证功能以允许他们在忘记密码时修改密码。然而,在测试时我点开邮件中的连接,页面将显示 403 Forbidden

注意到打开页面后的 GET 请求:

${scheme}://${host}/auth/reset/2328?expires=1704892099&signature=3cd6794640b3b598345ff141fe9cdeb3ad58f0cc2ed6e8881dfb805c2f8016bf

返回 403。

错误日志

以下是 Nginx 的 log:

178.127.1.1 - - [10/Jan/2024:12:18:40 +0000] "GET /auth/reset/2328?expires=1704892099&signature=3cd6794640b3b598345ff141fe9cdeb3ad58f0cc2ed6e8881dfb805c2f8016bf HTTP/1.0" 403 2223 "https://mail.qq.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0" "113.200.174.39" 0.162 0.161 . -

重现步骤

  1. 登录前点击忘记密码。
  2. 接收邮件后点击其中的连接。
  3. 发现页面显示 403 Forbidden