403 when using special characters
还没有人认领这个 Issue。
评估
调研方向
从 examples/fastapi/async_app.py 以及 app_handler.handle(request) 使用的 FastAPI AsyncSlackRequestHandler 路径开始。使用包含“ö”的消息复现 mention listener,并在跟踪 raw body 处理的同时将其与 ASCII 消息进行比较。当包含特殊字符的消息不再返回 403,同时正常的请求处理仍然有效时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Issue: When using special characters like "ö" app_handler.handle(request) will return Unauthorized.
Tools: I'm using FastAPI AsyncSlackRequestHandler adapter. I don't know if this happends in without adapters on others, this is my use case.
With this code can be reproduced: https://github.com/slackapi/bolt-python/blob/main/examples/fastapi/async_app.py
Simply using the mention listener and as a user on slack send a special character, 403 will be returned.
Hypothesis: I believe is the way the raw body is handled, that when using special characters is not well decoded or something, I'll keep looking to see if I find a solution, in the meantime reporting this as issue since seems pretty clear is one
- 主要语言
- Python
- 星标
- 1.3k
- 派生
- 288
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 10
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
slackapi/bolt-python 的其他 Issue
-
docs enhancement server-side
难度 1/5 1 小时以内 新手友好度 88/100
slackapi/bolt-python#1576 · 1 条评论 ·
-
auto-triage-skip bug security semver:major
难度 2/5 1-3 小时 新手友好度 72/100
slackapi/bolt-python#1447 · 9 条评论 ·
-
难度 3/5 1-2 天 新手友好度 65/100
slackapi/bolt-python#1577 ·
-
area:async auto-triage-skip dependencies
难度 3/5 1-2 天 新手友好度 65/100
slackapi/bolt-python#1472 · 1 条评论 · 1 个 reaction ·
-
auto-triage-skip enhancement
slackapi/bolt-python#1346 · 2 条评论 · 已指派 1 人 ·
查看 slackapi/bolt-python 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 70/100
canonical/paas-charm#368 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
tech debt
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 1/5 1 小时以内 新手友好度 90/100
StevenBlack/hosts#3256 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
qualcomm/qai-appbuilder#275 ·