-
Notifications
You must be signed in to change notification settings - Fork 227
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
WIP: Add minimal sanitization for applylib #3520
base: main
Are you sure you want to change the base?
Conversation
cc @apelisse ... I'm wondering if this sanitization should be in client-go? And maybe we should URL-escape path components? Without this I got a cryptic error:
/assign @apelisse |
So you get a 404 when you specify the wrong name? That's not too bad, especially since on POST (create), the name is not part of the URL so this will fail to create with a proper error I would guess? |
For server-side apply that's a different story though since you can create through patch. |
This is probably a reasonable criteria for validating a name: |
Apparently we already do that somewhere: But the URL is constructed differently when using the dynamic client: So I guess this is missing here. |
3fa4d6f
to
67a593f
Compare
No description provided.