mirror of
https://github.com/Finb/bark-server.git
synced 2026-04-26 06:05:52 +03:00
[GH-ISSUE #66] Bug:Auth权限绕过 #51
Labels
No labels
enhancement
in progress
need test
pull-request
v2
v2
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bark-server#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Eminlin on GitHub (Jun 30, 2021).
Original GitHub issue: https://github.com/Finb/bark-server/issues/66
首先很感谢各位开发者的贡献,使用 bark 很久了
服务开启 auth 并设置用户名密码之后,请求 https://domain.com/token/ 会绕过权限验证,直接向手机发送 NoContent 提醒。
携带内容就不会绕过 auth 认证,例如 https://domain.com/token/hello 没有携带 auth 会提示 i'm a teapot
GoVersion:1.16.5
IOS 13.7
RepoVersion:abf2b76
BarkVersion:1.1.6
CentOS 7
@Eminlin commented on GitHub (Jun 30, 2021):
bark 服务日志:
响应结果: