Commit 7beb0a7
committed
fix(ram_signature): decode query parameters in signed headers
Updated the query parameter handling in get_agentrun_signed_headers to decode both keys and values using unquote. This ensures that the headers are correctly signed when special characters are present in the query string.
修复(ram_signature):在签名头中解码查询参数
更新 get_agentrun_signed_headers 中的查询参数处理,以使用 unquote 解码键和值。这确保在查询字符串中存在特殊字符时,头部能够正确签名。
Change-Id: If1ca01053877ec382044ffc84b4db0e81ecf0610
Signed-off-by: OhYee <oyohyee@oyohyee.com>1 parent afcdfb1 commit 7beb0a7
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
0 commit comments