Skip to content

fix(js): prevent crashes by validating res.Headers before splitting#80

Closed
MatrixNeoKozak wants to merge 1 commit into
bettercap:masterfrom
MatrixNeoKozak:fix/improvement-1783435850421
Closed

fix(js): prevent crashes by validating res.Headers before splitting#80
MatrixNeoKozak wants to merge 1 commit into
bettercap:masterfrom
MatrixNeoKozak:fix/improvement-1783435850421

Conversation

@MatrixNeoKozak

Copy link
Copy Markdown

Checks if res.Headers is defined and not null before performing split operations in gitspoof and web-override proxy scripts. This prevents TypeError crashes when res.Headers is undefined, particularly during the onRequest phase.

@MatrixNeoKozak MatrixNeoKozak closed this by deleting the head repository Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant