Skip to content

LaboratoryController: Use java DOM API instead of StringBuilder#289

Open
labkey-alan wants to merge 1 commit into
release25.7-SNAPSHOTfrom
25.7_fb_laboratory_controller_dom_api
Open

LaboratoryController: Use java DOM API instead of StringBuilder#289
labkey-alan wants to merge 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
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