-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
URLUtils.isValidURL #3548
Comments
Can you help me understand better? Under what conditions, this check may fail. |
😳 This check should probably be removed. Added in #1139, not sure why. |
In the project,this is used only at following two locations: https://github.com/fabric8io/kubernetes-client/blob/master/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/utils/URLUtils.java |
To be clear, the only thing you should remove is the |
@MUzairS15 are you working on this and going to provide a PR? |
Looks like @MUzairS15 had created PR but didn't link the issue #3558 |
Sorry @manusa I didn't linked the issue, thankyou @rohanKanojia for mentioning |
In this method there's a check of if the string form contains the string null, presumably to guard against null concatenation. However in general it's quite possible for the string "null" to appear in a valid URL.
kubernetes-client/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/utils/URLUtils.java
Line 151 in d1740ff
The text was updated successfully, but these errors were encountered: