fix captcha shortening url path resolution

This commit is contained in:
Ravi Khadiwala authored and ravi-signal committed 2023-08-10 16:01:56 -05:00
1 parent f6b3500e92
commit b6ee074149
2 files changed
+73 -1

No files matched your search

@@ -28,7 +28,7 @@ public class ShortCodeExpander {
}
public Optional<String> retrieve(final String shortCode) throws IOException {
final URI uri = shortenerHost.resolve("/" + shortCode);
final URI uri = shortenerHost.resolve(shortCode);
final HttpRequest request = HttpRequest.newBuilder().uri(uri).GET().build();
try {