Skip to content

commonlib: prevent GUI hangs on lengthier output#7380

Open
thc202 wants to merge 1 commit into
zaproxy:mainfrom
thc202:commonlib/split-trim-output
Open

commonlib: prevent GUI hangs on lengthier output#7380
thc202 wants to merge 1 commit into
zaproxy:mainfrom
thc202:commonlib/split-trim-output

Conversation

@thc202
Copy link
Copy Markdown
Member

@thc202 thc202 commented May 20, 2026

Trim the message above a threshold (25M) and split long lines (15k) to prevent the GUI from hanging.

Trim the message above a threshold (25M) and split long lines (15k) to
prevent the GUI from hanging.

Signed-off-by: thc202 <thc202@gmail.com>
}
}

private static String splitLongLines(String message) {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is the same logic as the core ContentSplitter.

@psiinon
Copy link
Copy Markdown
Member

psiinon commented May 20, 2026

Logo
Checkmarx One – Scan Summary & Detailsa52fcd4c-2929-4a37-8d4b-edcf85141527

Great job! No new security vulnerabilities introduced in this pull request


Use @Checkmarx to interact with Checkmarx PR Assistant.
Examples:
@Checkmarx how are you able to help me?
@Checkmarx rescan this PR

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.

3 participants