Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: a8263b5 GitHub-Pull-Request: #217 Reviewed-on: https://go-review.googlesource.com/c/net/+/599895 Reviewed-by: Ian Lance Taylor <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Damien Neil <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Commit-Queue: Damien Neil <[email protected]> Commit-Queue: Ian Lance Taylor <[email protected]>
- Loading branch information