-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: remove noescape support #3528
Labels
Milestone
Comments
> Also, how do you avoid query parameter escaping without 'noescape'. The URL type (http://code.google.com/p/go/source/browse/src/pkg/html/template/content.go#55) will pass through query parameter escaping unchanged. Relevant testcases: * http://code.google.com/p/go/source/browse/src/pkg/html/template/content_test.go#186 * http://code.google.com/p/go/source/browse/src/pkg/html/template/content_test.go#199 The documentation for content types is pretty sparse since a full treatment was deemed overkill. The relevant docs are http://code.google.com/p/go/source/browse/src/pkg/html/template/doc.go#145 > Types HTML, JS, URL, and others from content.go can carry safe content that is > exempted from escaping. |
https://golang.org/cl/7142048 Owner changed to @adg. Status changed to Started. |
This issue was closed by revision c022943. Status changed to Fixed. |
rsc
added a commit
that referenced
this issue
May 11, 2015
««« backport fead9e11a489 html/template: fix URL doc This is the easy part of issue 3528. (What to do about "noescape" is the hard part, left open.) Update #3528. R=mikesamuel, r, dsymonds CC=golang-dev https://golang.org/cl/6493113 »»»
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: