Skip to content

Add Log Line to Page + Directory Cmds#362

Merged
payoub125 merged 2 commits intodevelopfrom
add-log-err
Apr 2, 2026
Merged

Add Log Line to Page + Directory Cmds#362
payoub125 merged 2 commits intodevelopfrom
add-log-err

Conversation

@payoub125
Copy link
Copy Markdown
Contributor

@payoub125 payoub125 commented Apr 2, 2026

Note

Low Risk
Low risk: changes are limited to response-code validation behavior and additional logging/error collection, with no auth or data model impact.

Overview
Improves discover-page and directory enumeration diagnostics by explicitly logging and recording when responses return status codes outside the configured allowed list.

directory.AnalyzeResponse now returns (isValid, errMsg) and emits an info log + error string for disallowed status codes; callers append these messages to the report errors while still collecting valid findings. discover/page similarly logs and adds an error when a page’s status code isn’t allowed, instead of silently skipping.

Written by Cursor Bugbot for commit dc503a9. This will update automatically on new commits. Configure here.

@payoub125 payoub125 self-assigned this Apr 2, 2026
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@payoub125 payoub125 enabled auto-merge (squash) April 2, 2026 17:58
@payoub125 payoub125 merged commit 0dee5a2 into develop Apr 2, 2026
15 checks passed
@payoub125 payoub125 deleted the add-log-err branch April 2, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants