Skip to content

LaboratoryController: Use java DOM API instead of StringBuilder#289

Merged
labkey-alan merged 1 commit into
release25.7-SNAPSHOTfrom
25.7_fb_laboratory_controller_dom_api
Jun 23, 2026
Merged

LaboratoryController: Use java DOM API instead of StringBuilder#289
labkey-alan merged 1 commit into
release25.7-SNAPSHOTfrom
25.7_fb_laboratory_controller_dom_api

Conversation

@labkey-alan

Copy link
Copy Markdown

Rationale

Using StringBuilder to manually build up HTML is error prone and unsafe. Updating usages to use the java DOM API so all HTML is properly escaped and potential XSS issues are mitigated.

Related Pull Requests

Changes

  • LaboratoryController: Use java DOM API instead of StringBuilder

@labkey-alan labkey-alan self-assigned this Jun 22, 2026
@labkey-alan labkey-alan force-pushed the 25.7_fb_laboratory_controller_dom_api branch from cc8fd41 to ab59619 Compare June 23, 2026 17:08
@labkey-alan labkey-alan merged commit 9bca4ec into release25.7-SNAPSHOT Jun 23, 2026
8 of 9 checks passed
@labkey-alan labkey-alan deleted the 25.7_fb_laboratory_controller_dom_api branch June 23, 2026 22:03
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.

3 participants