diff options
author | Ondřej Surý <ondrej@sury.org> | 2012-02-29 11:23:13 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2012-02-29 11:23:13 +0100 |
commit | b6d7097a0d6072199f2cd74d67404890697cf78a (patch) | |
tree | a2193c528a79fd5606507568859ee5067c6b86e4 /src/pkg/html/template/js.go | |
parent | 4cecda6c347bd6902b960c6a35a967add7070b0d (diff) | |
download | golang-b6d7097a0d6072199f2cd74d67404890697cf78a.tar.gz |
Imported Upstream version 2012.02.22upstream-weekly/2012.02.22
Diffstat (limited to 'src/pkg/html/template/js.go')
-rw-r--r-- | src/pkg/html/template/js.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/html/template/js.go b/src/pkg/html/template/js.go index 0e632df42..a895a50aa 100644 --- a/src/pkg/html/template/js.go +++ b/src/pkg/html/template/js.go @@ -154,7 +154,7 @@ func jsValEscaper(args ...interface{}) string { a = fmt.Sprint(args...) } // TODO: detect cycles before calling Marshal which loops infinitely on - // cyclic data. This may be an unnacceptable DoS risk. + // cyclic data. This may be an unacceptable DoS risk. b, err := json.Marshal(a) if err != nil { |