-
Notifications
You must be signed in to change notification settings - Fork 40.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove 0,1,3 from rand.String to avoid 'bad words' #50070
Remove 0,1,3 from rand.String to avoid 'bad words' #50070
Conversation
@dixudx: GitHub didn't allow me to request PR reviews from the following users: jamesawebb1. Note that only kubernetes members can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hi @dixudx. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
I feel like I should require a good story every time someone wants to remove items from the list. The "I was demo-ing to customer X and this one popped up" must be awesome. |
@deads2k Because it generated some offensive string like |
/lgtm Thanks! |
/ok-to-test |
Heh. That's an unlucky demo. :) /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, dixudx, mml Associated issue: 49543 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue (batch tested with PRs 46685, 49863, 50098, 50070, 50096) |
@dixudx The reason I ask this question is that, according to BenchmarkRandomStringGeneration, addition of digit(s) would make the random number generator faster. I agree about '0' and '1' being similar to 'o' and 'i'. Thanks |
@mml |
"3xt3nd" was an example of how the number 3 makes words readable as english.
has that been demonstrated to be a problematic hotspot in a profile? |
Sorry to necro this. I was wondering if we should also remove |
What this PR does / why we need it:
Remove 0,1,3 from the runes to prevent accidental bad words profanity
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #49543Special notes for your reviewer:
/cc @mml @jamesawebb1 @spiffxp
Release note: