-
Notifications
You must be signed in to change notification settings - Fork 1.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
Invalid URL Generation Due to Invalid Character in Path #3890
Comments
I don't see this in the code at Do you have a link to the commit where you see this code? Either way, this comes out of the open API spec so if there is a bug, it needs to be corrected in that spec. Given that HEAD looks ok: I don't think that there is any action needed here, but let me know if there is more to do. |
This was introduce from the swagger model here ^ so it will impact all language clients we have. Will send a PR to fix the model first.. |
Thanks @yue9944882. Yeah we'll need to fix that spec file first and then regenerate the code. |
Describe the bug
The line 3304 of the file kubernetes/src/main/java/io/kubernetes/client/openapi/apis/CustomObjectsApi.java:
3304 │ ········String localVarPath = "/apis/{group}/{version}/{plural}#\u{200e}"
is causing the generation of an invalid URL. The inclusion of
#\u{200e}
at the end of the URL path results in an invalid or improperly formatted URL.Client Version
22.0.0
Kubernetes Version
Not applicable – the Kubernetes version does not affect this issue.
Java Version
Not applicable – the Java version does not affect this issue.
To Reproduce
Expected behavior
The URL should correctly include all relevant parameters, such as labelSelector.
KubeConfig
Not applicable.
Server (please complete the following information):
Not applicable – the Server does not affect this issue.
The text was updated successfully, but these errors were encountered: