Skip to content

fix: escape */ to prevent premature doc comment termination - #102

Merged
ilbertt merged 1 commit into
mainfrom
luca/fix-injection
Dec 16, 2025
Merged

fix: escape */ to prevent premature doc comment termination#102
ilbertt merged 1 commit into
mainfrom
luca/fix-injection

Conversation

@ilbertt

@ilbertt ilbertt commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

As a security measure, we want to escape the JSDoc closing char sequence (*/) to prevent unwanted code to be injected in the generated bindings.

@ilbertt
ilbertt requested a review from a team as a code owner December 15, 2025 15:33

@venkkatesh-sekar venkkatesh-sekar left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM, thanks @ilbertt

@ilbertt
ilbertt merged commit 445f169 into main Dec 16, 2025
9 checks passed
@ilbertt
ilbertt deleted the luca/fix-injection branch December 16, 2025 17:04
ilbertt added a commit to dfinity/candid that referenced this pull request Dec 18, 2025
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