-
Notifications
You must be signed in to change notification settings - Fork 563
fix: validate that a method and a wildcard won't appear together #3667
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: validate that a method and a wildcard won't appear together #3667
Conversation
Hi @EyalPazz. Thanks for your PR. I'm waiting for a kubernetes-sigs 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-sigs/prow repository. |
Thanks @EyalPazz! There's been some good discussion about this in Slack, where there is conflicting guidance from MDN and the Fetch Living Standard, where the first suggests that this is an invalid combination and the second has been summarized well by @elizabeth-dev:
with credentials being defined as:
Given the ambiguity here, my preference is to start with the tightest possible reasonable validation, and loosen if/when needed, since it would be very difficult (a backwards incompatible change) to tighten this validation in the future. So with all of the above context, my vote is to merge this PR. Open to other opinions. /cc @howardjohn @youngnick @elizabeth-dev |
@robscott: GitHub didn't allow me to request PR reviews from the following users: elizabeth-dev. Note that only kubernetes-sigs members and repo collaborators 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-sigs/prow repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: EyalPazz, robscott 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 |
Agreed that starting with the tightest validation is better here. |
+1 to @robscott's conclusion. I wonder if we could find people from MDN to weigh in on why their docs seem to differ from the standard. |
@EyalPazz this LGTM if you can get the tests to pass. |
Looks like this just needs a |
ea20952
to
039d712
Compare
/retest |
The problem was with |
/lgtm |
What type of PR is this?
/kind bug
Which issue(s) this PR fixes:
Fixes #3647
Does this PR introduce a user-facing change?: