Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

add ZERO WIDTH NO-BREAK SPACE to our cut set #931

Merged
merged 1 commit into from
Oct 29, 2020

Conversation

mikehelmick
Copy link
Contributor

Proposed Changes

  • add unicode zero width no-break space to our cutset for certififcate issuer and audience

Workaround of golang/go#42274

Release Note

Fixes an issue where certain non-printable unicode characters would accepted as valid characters for the verification certificate issuer and audience.

@google-cla google-cla bot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Oct 29, 2020
Copy link
Member

@sethvargo sethvargo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@@ -73,6 +75,10 @@ type Database struct {
statsCloser func()
}

func trim(s string) string {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can do it later, but I feel like this should be a more global thing that we use everywhere.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep - fixing the immediate known badness

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mikehelmick, sethvargo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [mikehelmick,sethvargo]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot google-oss-robot merged commit fc8fc0b into google:main Oct 29, 2020
@mikehelmick mikehelmick deleted the unicode branch October 29, 2020 17:37
@mikehelmick mikehelmick mentioned this pull request Oct 29, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Auto: added by CLA bot when all committers have signed a CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants