]> Cypherpunks repositories - gostls13.git/commit
html/template: escape script tags in JS errors case insensitively
authorRoland Shoemaker <roland@golang.org>
Mon, 9 Dec 2024 19:53:32 +0000 (11:53 -0800)
committerRoland Shoemaker <roland@golang.org>
Tue, 10 Dec 2024 19:03:42 +0000 (19:03 +0000)
commite6de1b2debe2bc7211f6f9cac4b64d7cd90f7c4e
tree9c8e0d12ac5f919d2bac256924599aea02eb86eb
parentfce17b0c774593da0dfb39b829464d1da8ceca77
html/template: escape script tags in JS errors case insensitively

Thanks to Juho Forsén of Mattermost for reporting this issue.

Fixes #70740

Change-Id: I1a49b199dee91cd2bb4df5b174aaa958dc040c18
Reviewed-on: https://go-review.googlesource.com/c/go/+/634696
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
src/html/template/js.go
src/html/template/js_test.go