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
- 分支
- 291
- 平均合併
- 1 天 14 小時
- 30 天內合併 PR
- 8
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 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 ·
-
Enhancement: Assistant should inherit global middleware for security and consistency可能重新可做 @hello-ashleyintech 於 421 天前認領,目前沒有進行中的 PR。 未關閉auto-triage-skip enhancement
slackapi/bolt-python#1346 · 2 則留言 · 已指派 1 人 ·
查看 slackapi/bolt-python 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 88/100
BasedHardware/omi#20271 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 92/100
openai/openai-cookbook#3153 ·
維護者通常 1 天內回覆
-
cvss-severity:high devguard l3montree-cybersecurity/devguard/devguard pkg:golang/github.com/l3montree-dev/devguard risk:low state:open
難度 2/5 1-3 小時 新手友好度 65/100
l3montree-dev/devguard#3146 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
-
bug confirmed issue
難度 2/5 1-3 小時 新手友好度 76/100
open-webui/open-webui#31849 · 2 則留言 ·
維護者通常 1 天內回覆