We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If one of the tags has a space, or any other character other than letters and numbers, the tags are not applied AT ALL to the droplet on creation.
When the tags are just one word then all the tags are successfully applied. If even one of them contains a space then ALL of the tags are not applied.
I tried encoding the values using URLEncoder.encode(tag, StandardCharsets.UTF_8) but it does not help.
URLEncoder.encode(tag, StandardCharsets.UTF_8)
Very minimal example:
// setup Client client = new DigitalOceanClient("XXXXXX"); Region region = // slug=fra1 Size size = // slug=s-1vcpu-1gb Image image = // slug=docker-18-04 // Droplet creation Droplet droplet = new Droplet(); droplet.setName("test-tags"); droplet.setRegion(region); droplet.setSize(slug); droplet.setImage(image); // Works List<String> tags = List.of("tag1", "tag2"); // Does not work List<String> tags = List.of("tag 1", "tag 2"); droplet.setTags(tags); client.createDroplet(droplet);
The text was updated successfully, but these errors were encountered:
Hi, is there any update on this?
Sorry, something went wrong.
No branches or pull requests
If one of the tags has a space, or any other character other than letters and numbers, the tags are not applied AT ALL to the droplet on creation.
When the tags are just one word then all the tags are successfully applied. If even one of them contains a space then ALL of the tags are not applied.
I tried encoding the values using
URLEncoder.encode(tag, StandardCharsets.UTF_8)
but it does not help.Very minimal example:
The text was updated successfully, but these errors were encountered: