commit | 3c2cc9a6329d9842b3bbdaf307a8110d740cf94c | [log] [tgz] |
---|---|---|
author | Andrew Bonventre <andybons@golang.org> | Fri Mar 06 15:24:27 2020 -0500 |
committer | Andrew Bonventre <andybons@golang.org> | Tue Mar 24 18:43:33 2020 +0000 |
tree | 18a79384d998f7fdd4d4d9562d3fd554eff27c68 | |
parent | 95ce5a45227395c66bfd43547c31d9bd5524b961 [diff] |
gddo-server: add utm_source to pkg.go.dev redirect URLs This will reliably indicate to pkg.go.dev that a request is due to the automatic redirect logic. Additional logic is added for more accurate mapping of godoc.org -> pkg.go.dev URLs. Updates golang/go#37099 Change-Id: Iba380a3b5951d50576c17711990d0ba87857b926 Reviewed-on: https://go-review.googlesource.com/c/gddo/+/224659 Reviewed-by: Julie Qiu <julie@golang.org>