[net] xsrftoken: create no padding base64 string by RawURLEncoding.

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
2:18 PM (4 hours ago) 2:18 PM
to Gerrit Bot, Chen Su, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Damien Neil, Go LUCI, Ian Lance Taylor, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
xsrftoken: create no padding base64 string by RawURLEncoding

The XSRF token generation function creates the padded base64 string by
base64.URLEncoding, then removes the padding. It is equivalent to the
base64.RawURLEncoding but with more costs.
Change-Id: I9cf5ad94e9cf3dca9bbfc1b6818ab07d41acf417
GitHub-Last-Rev: a8263b543cc3c779c7e20ba143994d638e3b7143
GitHub-Pull-Request: golang/net#217
Reviewed-by: Ian Lance Taylor <ia...@google.com>
Reviewed-by: Damien Neil <dn...@google.com>
Auto-Submit: Ian Lance Taylor <ia...@google.com>
Commit-Queue: Damien Neil <dn...@google.com>
Commit-Queue: Ian Lance Taylor <ia...@google.com>
Files:
  • M xsrftoken/xsrf.go
Change size: XS
Delta: 1 file changed, 2 insertions(+), 3 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Damien Neil, +2 by Ian Lance Taylor
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: net
Gerrit-Branch: master
Gerrit-Change-Id: I9cf5ad94e9cf3dca9bbfc1b6818ab07d41acf417
Gerrit-Change-Number: 599895
Gerrit-PatchSet: 4
Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
Gerrit-Reviewer: Damien Neil <dn...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
Gerrit-Reviewer: Ian Lance Taylor <ia...@google.com>
Gerrit-CC: Chen Su <gho...@gmail.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages