withHostName
method in google-cloud-storage requires URI scheme
#6361
Labels
api: storage
Issues related to the Cloud Storage API.
help wanted
We'd love to have community involvement on this issue.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Method:
google-cloud-java/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java
Line 1124 in 1c6a1da
Despite this being a method to supply the hostname (e.g. storage.googleapis.com), this actually requires that you pass in the entire base URL (e.g. https://storage.googleapis.com). To fix this, I propose that we:
http[s]://
) if it's present.The text was updated successfully, but these errors were encountered: