Repository navigation
Add 4.3.3 section to changelog - #193
Conversation
Reviewer's GuideDocumentationAdd the 4.3.3 changelog section and move the backported #170 and #171 entries out of the 5.0.0 section so each change is listed under its first release.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
c6bec8f to
9b4a46e
Compare
There was a problem hiding this comment.
Hey - I've found 2 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="CHANGELOG.md" line_range="16" />
<code_context>
- Bug #176: Remove unused `ext-dom` dependency (@samdark)
-- Chg #170: Make all parameters of `ErrorException` constructor required (@vjik)
-- New #171: Add `$traceFileMap` parameter to `HtmlRenderer` for mapping file paths in trace links (@WarLikeLaux)
+- Bug #192: Escape cURL command in HTML debug output (@roxblnfk)
+- Enh #192: Add PHP 8.6 support (@roxblnfk)
</code_context>
<issue_to_address>
**cURL output still permits XSS**
When an attacker can control request data included in the generated cURL command and cause a debug page to be viewed, `HtmlRenderer::renderCurl()` returns the generated command, and the development template inserts it unescaped into a `<textarea>` and a `data-clipboard` attribute, so crafted request data executes script in the debug page despite this entry claiming the output is escaped.
HTML-encode the cURL output for both the textarea content and the `data-clipboard` attribute, and ensure the backport includes that template change before documenting the fix.
</issue_to_address>
### Comment 2
<location path="CHANGELOG.md" line_range="16" />
<code_context>
- Bug #176: Remove unused `ext-dom` dependency (@samdark)
-- Chg #170: Make all parameters of `ErrorException` constructor required (@vjik)
-- New #171: Add `$traceFileMap` parameter to `HtmlRenderer` for mapping file paths in trace links (@WarLikeLaux)
+- Bug #192: Escape cURL command in HTML debug output (@roxblnfk)
+- Enh #192: Add PHP 8.6 support (@roxblnfk)
</code_context>
<issue_to_address>
**Changes appear twice in changelog**
When #192's 5.0.0 entries are present on the branch being merged, `merge=union` retains both #192 entries in the 5.0.0 and 4.3.3 sections, so readers see each change twice and cannot tell its first release.
Keep each #192 entry only in the release section where it first ships, removing the duplicate from the other section.
Also at `CHANGELOG.md:17`.
</issue_to_address>Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: CHANGELOG.md:16
| - Bug #176: Remove unused `ext-dom` dependency (@samdark) | ||
| - Chg #170: Make all parameters of `ErrorException` constructor required (@vjik) | ||
| - New #171: Add `$traceFileMap` parameter to `HtmlRenderer` for mapping file paths in trace links (@WarLikeLaux) | ||
| - Bug #192: Escape cURL command in HTML debug output (@roxblnfk) |
There was a problem hiding this comment.
🟡 Medium · cURL output still permits XSS
When an attacker can control request data included in the generated cURL command and cause a debug page to be viewed, HtmlRenderer::renderCurl() returns the generated command, and the development template inserts it unescaped into a <textarea> and a data-clipboard attribute, so crafted request data executes script in the debug page despite this entry claiming the output is escaped.
HTML-encode the cURL output for both the textarea content and the data-clipboard attribute, and ensure the backport includes that template change before documenting the fix.
Prompt for AI agents
In `CHANGELOG.md` at line 16:
**cURL output still permits XSS**
When an attacker can control request data included in the generated cURL command and cause a debug page to be viewed, `HtmlRenderer::renderCurl()` returns the generated command, and the development template inserts it unescaped into a `<textarea>` and a `data-clipboard` attribute, so crafted request data executes script in the debug page despite this entry claiming the output is escaped.
HTML-encode the cURL output for both the textarea content and the `data-clipboard` attribute, and ensure the backport includes that template change before documenting the fix.Bug fixes backported to the 4.x branch move out of the 5.0.0 section, so each change is listed under the first release that ships it. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
9b4a46e to
eeac9a2
Compare
Sourcery withdrew this approval because the latest commits introduced blocking findings.
4.3.3 November 25, 2026section listing the merged fixes backported to the 4.x branch: Fix missing items in stack trace HTML output when handling a PHP error #164, Fix #166: Fix broken link to error handling guide #166 and Fix #176: Remove unusedext-domdependency #176.Summary by Sourcery
Add a 4.3.3 changelog section and move its backported changes out of the 5.0.0 section.
Enhancements:
Documentation: