Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html/template: comment handling introduced in 1.21.1 breaks valid scripts [1.20 backport] #63207

Closed
gopherbot opened this issue Sep 25, 2023 · 1 comment
Labels
Security WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@gopherbot
Copy link
Contributor

@rolandshoemaker requested issue #63183 to be considered for backport to the next 1.20 minor release.

Bah, this is due to a misreading of the specification by myself, I misread SingleLineHTMLCloseComment and HTMLCloseComment, which allows SingleLineDelimitedCommentSequence before the --> token.

Slightly confusingly this means you can have /* comment */ --> more comment but not real text --> comment.

This is an unexpected breaking change, so we should backport the fix.

@gopherbot please open backport issues.

@gopherbot gopherbot added CherryPickCandidate Used during the release process for point releases Security labels Sep 25, 2023
@gopherbot gopherbot added this to the Go1.20.9 milestone Sep 25, 2023
@prattmic prattmic added the CherryPickApproved Used during the release process for point releases label Oct 4, 2023
@gopherbot gopherbot removed the CherryPickCandidate Used during the release process for point releases label Oct 4, 2023
@gopherbot gopherbot modified the milestones: Go1.20.9, Go1.20.10, Go1.20.11 Oct 5, 2023
@gopherbot gopherbot modified the milestones: Go1.20.11, Go1.20.12 Nov 7, 2023
@heschi heschi added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Nov 7, 2023
@gopherbot gopherbot modified the milestones: Go1.20.12, Go1.20.13 Dec 5, 2023
@gopherbot gopherbot modified the milestones: Go1.20.13, Go1.20.14 Jan 9, 2024
@gopherbot gopherbot modified the milestones: Go1.20.14, Go1.20.15 Feb 6, 2024
@seankhliao
Copy link
Member

Closing as 1.20 is out of the support window.

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Feb 12, 2024
@dmitshur dmitshur removed the CherryPickApproved Used during the release process for point releases label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Security WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

5 participants