diff --git a/library/test/src/test/java/com/bumptech/glide/load/model/GlideUrlTest.java b/library/test/src/test/java/com/bumptech/glide/load/model/GlideUrlTest.java index 52f1547333..8128b24875 100644 --- a/library/test/src/test/java/com/bumptech/glide/load/model/GlideUrlTest.java +++ b/library/test/src/test/java/com/bumptech/glide/load/model/GlideUrlTest.java @@ -118,4 +118,13 @@ public void testEquals() throws MalformedURLException { .addEqualityGroup(new GlideUrl(url, otherHeaders), new GlideUrl(new URL(url), otherHeaders)) .testEquals(); } + + @Test + public void issue_5444() throws MalformedURLException { + String original = + "http://[2600:1f13:37c:1400:ba21:7165:5fc7:736e]/"; + GlideUrl glideUrl = new GlideUrl(original); + assertThat(glideUrl.toURL().toString()).isEqualTo(original); + assertThat(glideUrl.toStringUrl()).isEqualTo(original); + } }