A webhook sends its stored secret headers to a changed URL, and a NUL byte in an answer repeats the delivery
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
Hướng nghiên cứu
Start with WebhookService.cs around lines 139, 353, and 424 to trace how masked headers are retained when a URL changes. Then read WebhookSender.cs around lines 96–107 and WebhookDeliveryJob.cs around lines 68–78 and 186–207 to follow answer storage and retry handling. Add regression tests for both acceptance cases and verify that a 2xx response containing a NUL byte is recorded as one successful delivery across providers.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
- A kept
***header follows a changed URL.src/plugins/FluentCMS.Plugins.Webhooks/WebhookService.cs:139,353keep the stored value for a header sent as***without checking that the URL is unchanged (applied at:424). Awebhooks.manageholder can repoint the webhook to a host of their own and receive headers that are write-only. - An answer containing a NUL byte is delivered six times and dead-lettered on PostgreSQL.
WebhookSender.cs:96-107stores up to 4 KB of the answer as received, andWebhookDeliveryJob.cs:68-78writes it to a text column, which PostgreSQL refuses for0x00. The job throws after a 2xx,TakeOverAsync(:186-207) marks the attempt interrupted and schedules the next. The receiver gets duplicates, aWebhookDeadEventis raised, and the webhook is disabled whenDisableAfteris set. This was read from the code, not reproduced.
Proposal
- Refuse
***when the scheme, host or port of the URL changes; the caller must send the value again. - Strip control characters from the stored excerpt.
Done together with #3268, which changes the same delivery job.
Acceptance
- An update that changes the host and keeps a header as
***is refused with a problem naming the header - The same update with the URL unchanged, or only its path changed, keeps the header
- A 2xx answer containing
0x00is recorded as one successful delivery on every provider - Tests for each, failing before the fix
Found in the code review of 17 Nov 2026.
- Ngôn ngữ chính
- C#
- Star
- 569
- Fork
- 107
- Merge trung bình
- 2 giờ 49 phút
- Pull request đã merge (30 ngày)
- 397
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fluentcms/FluentCMS
-
area:host area:operations type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:build security type:chore
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:sdk security type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:content security type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:build type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của fluentcms/FluentCMS
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
microsoft/microsoft-ui-reactor#1567 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
openclaw/openclaw-windows-node#2287 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
kind:ux needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
elsa-workflows/elsa-foundation#4742 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100