-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
fix: updated regex on validateNetwork to support special characters. #18158
fix: updated regex on validateNetwork to support special characters. #18158
Conversation
Welcome @alessandrocapanna! |
Hi @alessandrocapanna. 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 Once the patch is verified, the new status will be reflected by the 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. |
Can one of the admins verify this patch? |
626f918
to
72d0f24
Compare
I noticed the use of a lazy quantifier in the pattern However, I was wondering if we might achieve the same result with a slightly simpler pattern: I am not sure if we have such cases because I just walked around and visited this GitHub repository :) |
I agree with @Zhongyi-Lu, using his example string Using While |
Yeah... I also agree with @Zhongyi-Lu, I will modify the pull request, I will also insert strings like those suggested in the tests :D |
Hi @alessandrocapanna, I just realized we have a function somewhere else in our code that does this as well.
Could you make the function public and move it to Edit: If anything is unclear just let me know |
… & tests, introduced MaskProxyPasswordWithKey refactor(util): Move maskProxyPassword to pkg/util, update references & tests, introduced MaskProxyPasswordWithKey
ab5255e
to
89f58c8
Compare
Hi @spowelljr. |
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube start: 50.5s 51.1s 51.1s 51.7s 52.6s Times for minikube ingress: 26.5s 28.1s 26.4s 24.0s 27.5s docker driver with docker runtime
Times for minikube start: 24.4s 23.6s 24.3s 20.8s 25.2s Times for minikube ingress: 21.8s 22.3s 21.2s 21.3s 21.3s docker driver with containerd runtime
Times for minikube start: 22.8s 23.6s 19.3s 23.3s 23.1s Times for minikube (PR 18158) ingress: 31.7s 46.7s 31.8s 31.8s 31.8s |
These are the flake rates of all failed tests.
Too many tests failed - See test logs for more details. To see the flake rates of all tests by environment, click here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alessandrocapanna, spowelljr 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:
Approvers can indicate their approval by writing |
Fix issue #17614
Now the regex support special characters as mentioned on issue.
Test made with faked credential: "http://user:fake%[email protected]:80"
Before:
After: