1. 05 Sep, 2019 2 commits
  2. 04 Sep, 2019 10 commits
  3. 03 Sep, 2019 15 commits
  4. 02 Sep, 2019 10 commits
  5. 01 Sep, 2019 3 commits
    • LE Manh Cuong's avatar
      cmd/link: always set .dynsym info field · fa7d40ab
      LE Manh Cuong authored
      CL 187979 added set .dynsym info field, but it won't when
      there are no global symbols. This CL sets that field
      unconditionally.
      
      Fixes #34000
      
      Change-Id: Icc2f8bc74afdade88a377793e6760912b03686ba
      Reviewed-on: https://go-review.googlesource.com/c/go/+/192600
      Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      fa7d40ab
    • Tom Thorogood's avatar
      encoding/json: revert Compact HTML escaping documentation · 79669dc7
      Tom Thorogood authored
      This partly reverts CL 173417 as it incorrectly documented that Compact
      performed HTML escaping and the output was safe to embed inside HTML
      <script> tags. This has never been true.
      
      Although Compact does escape U+2028 and U+2029, it doesn't escape <, >
      or &. Compact is thus only performing a subset of HTML escaping and it's
      output is not safe to embed inside HTML <script> tags.
      
      A more complete fix would be for Compact to either never perform any
      HTML escaping, as it was prior to CL 10883045, or to actually perform
      the same HTML escaping as HTMLEscape. Neither change is likely safe
      enough for go1.13.
      
      Updates #30357
      
      Change-Id: I912f0fe9611097d988048b28228c4a5b985080ba
      GitHub-Last-Rev: aebababc9233c5705785b225377e80096d4bb8c4
      GitHub-Pull-Request: golang/go#33427
      Reviewed-on: https://go-review.googlesource.com/c/go/+/188717Reviewed-by: default avatarDaniel Martí <mvdan@mvdan.cc>
      Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      79669dc7
    • William Poussier's avatar
      encoding/json: fix panic for nil instances of TextMarshaler in map keys · 85f3ca74
      William Poussier authored
      This change adds a a check in the encodeWithString.resolve method
      to ensure that a reflect.Value with kind Ptr is not nil before
      the type assertion to TextMarshaler.
      
      If the value is nil, the method returns a nil error, and the map key
      encodes to an empty string.
      
      Fixes #33675
      
      Change-Id: I0a04cf690ae67006f6a9c5f8cbb4cc99d236bca8
      GitHub-Last-Rev: 6c987c90846f854e21814dbfb3a073605ec8a94c
      GitHub-Pull-Request: golang/go#33700
      Reviewed-on: https://go-review.googlesource.com/c/go/+/190697
      Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarDaniel Martí <mvdan@mvdan.cc>
      85f3ca74